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.
- http://wikipedia.org/wiki/Comparison_of_WAMPs
- Also consider WITSuite EasyInstaller (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
- http://www.witsuite.com/support/knowledge-base/#manual-installation
Tips
- When the instructions tell you to find a line in one of the .ini files, you can use Notepad's find feature by clicking on "Edit">"Find", and typing in the line you were told to find. This should take you to the line.
- 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.
- 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 EasyPHP, but it might not contain the latest version of every program.
- 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.
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.
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:
- WinZip
- WinRar
- 7-Zip (it's opensource-free)
- Xampp
- EasyPHP
- appserv
- Navicat
Article provided by wikiHow, a wiki how-to manual. Please edit this article and find author credits at the original wikiHow article on How to Install Apache, MySQL, PHP, and phpMyAdmin on a Windows PC. All content on wikiHow can be shared under a Creative Commons license.