Install WAMP
Install all the software needed to run a PHP + MySQL enabled web server on your Windows PC. This is great for testing your web pages and PHP scripts on your local machine before uploading them to your web server. You can manually install every application separately or you can download a software package called Xampp (or another: "WAMP Server"), an easy to install Apache distribution containing MySQL, PHP and Perl. It is really very easy to install and to use - just download, extract and start. All software mentioned in this article is free and available through the website listed in the external links section at the bottom of the page. Also, because some of the files come in Zip format, you might need an unzipping program like WinZip or WinRar.
Contents
Steps
Manual Installation
- Download the Apache HTTPD Web Server from the Apache website listed in the external links. Be sure to download the latest stable Win32 Binary version of Apache with the MSI Installer. If that doesn't work, you can also look at the archives (also listed in the external links) for the latest version. To know which file that is, look for files prefixed with "httpd-", next to this should be the version of Apache HTTPD, and after the version is the Operating System and the type of file (I.E.: "-win32-src.zip").
- Download the latest stable PHP Windows Binaries with installer.
- Download the latest stable Windows (x86) version (way at the bottom of the page), which includes a Windows Installer, of the MySQL Database Server.
- Download the phpMyAdmin Database Manager file (phpMyAdmin-2.6.2-pl1.zip).
- Install the Apache Web Server.
- Install the MySQL Database Server.
- Install the PHP Engine.
- Install phpMyAdmin.
Alternate Method
- Download the full package of Xampp that contains everything. It also has a control panel, to admin everything. This is quite small and thus useful for putting on a thumb drive or something to keep scripts with you on the go. Helpful for developing at multiple terminals and with an odd schedule.
- Compare WAMPs.
- Also consider WITSuite Easy-Installer (WITSuite installation video: http://www.witsuite.com/products/installer/), in just a few clicks you will get Apache, MySQL, PHP installed and configured on your computer.
Other installation guides
Tips
- Save the files in an easy to locate place, such as the desktop, so you can find them quickly.
- Depending on your needs, you may consider installing a Linux distribution, some of which have made the installation of this software very easy.
- In the file "C:\Server\apache2\conf\httpd.conf" change the line "DirectoryIndex index.html index.html.var" to "DirectoryIndex index.html index.html.var index.php" so that index.php files will be sent to the browser by default if no file name is specified.
- When the instructions tell you to find a line in one of the .ini files, you can use the Notepad find feature by clicking on "Edit">"Find", and typing in the line you were told to find. This should take you to the line.
- If all these instructions are still hard to do, download and install appserv. This program contains all you need to easily setup these programs in a Windows NT/2000/XP PC. Another download that contains everything in an easy setup is Easy PHP, but it might not contain the latest version of every program.
Warnings
- This might not work, and you might get other errors. Getting all these pieces of software running together smoothly can be hard. Using different versions of the software listed can cause problems. Using a different version of Windows can cause problems. This should work, but results may vary.
Related Articles
- Install the Apache Web Server on a Windows PC
- Install the MySQL Database Server on Your Windows PC
- Install the PHP Engine on Your Windows PC
- Install phpMyAdmin on Your Windows PC
- Download from Giveaway of the Day
Sources and Citations
- Apache - Hosts the Apache HTTPD Web Server application
- Apache's archive - Hosts the Apache HTTPD Web Server application (in case you can't find the version you are looking for)
- PHP Engine
- MySQL Database Server - Be sure to download the Windows (x86) version (way at the bottom of the page), which includes a Windows Installer.
- phpMyAdmin Database Manager - Be sure to download the phpMyAdmin-2.6.2-pl1.zip file.
- To uncompress archives:
- Xampp
- EasyPHP
- appserv
- Navicat
What links here
- Create a Secure Login Script in PHP and MySQL
- Start Windows in Safe Mode
- Install phpMyAdmin on Your Windows PC
- Configure Your Website Using Htaccess in Linux with Apache
- Create a Forum
- Create a SQL Server Database
- Install MediaWiki
- Install and Use Codeigniter "Php Framework" on Your Server Using Netbeans 6.5
- Install the Apache Web Server on a Windows PC
- Install the MySQL Database Server on Your Windows PC