Last Updated on 2013-02-04.
- Download MySQL
- Download Apache
- Download PHP (For Apache 2.2, you need PHP 5.2, ZIP file)
- Install MySQL. After finishing the Wizard, MySQL service should start.
- Install Apache. If you encounter problems running the default config, have a look at this post.
- Open C:Program Files (x86)Apache Software FoundationApache2.2confhttpd.conf with notepad (Admin permissions!)
- Add the following lines at the end of the file:
LoadModule php5_module "c:/php/php5apache2_2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/php"
- Extract PHP to c:php.
- Rename php.ini-dist to php.ini
- Edit php.ini, search for “mysql” and uncomment the line.
- Copy phplibmysql.dll to c:windows.
- Restart Apache.
- Under Apache-Dirhtdocs, create a file test.php with content
- Open http://localhost/test.php to see if Apache / PHP works and if the MySQL module is loaded.
PHP 5.3.5 also works with this configuration, see this file listing and search for files containing “VC6”.
Newer versions are not available as VC6 compiled binaries. If you need these, have a look at this blog.
Optional: Get PhpMyAdmin