How to Install Apache, MySQL, PHP, and phpMyAdmin on a Windows PC Westminster CO

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, 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 mentionned in this article are 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.

Local Companies

Apple Store Aspen Grove
(720) 283-7930
7301 S Santa Fe Drive
Littleton, CO
OfficeMax
303-440-4009
1880 30th Street
Boulder, CO
OfficeMax
303-371-4119
8564 E 49th Avenue
Denver, CO
Staples
303-278-4258
16630 West Colfax
Golden, CO
Staples
720-981-0276
8055-3 West Bowles Ave Suite 3
Littleton, CO
Apple Store Cherry Creek
(303) 320-9191
3000 E 1st Ave.
Denver, CO
OfficeMax
303-752-0040
14030 E. Mississippi Ave
Aurora, CO
OfficeMax
303-920-3486
801 East 120th Avenue
Thornton, CO
Staples
303-444-0575
1601 29th St. Suite 1292
Boulder, CO
Staples
303-759-3127
6435 E. Hampden Avenue
Denver, CO

Provided By:

Steps

Manual Installation
  1. 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").
  2. Download the latest stable PHP Windows Binaries with installer.
  3. Download the latest stable Windows (x86) version (way at the bottom of the page), which includes a Windows Installer, of the MySQL Database Server.
  4. Download the phpMyAdmin Database Manager file (phpMyAdmin-2.6.2-pl1.zip).
  5. Install the Apache Web Server.
  6. Install the MySQL Database Server.
  7. Install the PHP Engine.
  8. Install phpMyAdmin.
Alternate Method
  1. 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.
  2. http://wikipedia.org/wiki/Comparison_of_WAMPs
  3. 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
  1. 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.


Topics: 
Advertising Financial Services Insurance Real Estate
Business Services Health Internet Software
Education Home Services Legal Telecommunications
Family