Required Software:
Httpd-2.2.22-win32-x86-no_ssl.msiPhp-5.4.5-win32-vc9-x86.zipMysql-5.5.27-win32.msi
1. Install Apache, modify httpd.conf
Modify the httpd.conf file, the file is located under \apache2.2\conf
Find #loadmodule vhost_alias_module modules/mod_vhost_alias.so add a row
LoadModule Php5_module C:/php/php5apache2_2.dll
Find AddType application/x-gzip. gz. Tgz added
AddType application/x-httpd-php. php
Found it
<ifmodule dir_module>
DirectoryIndex index.html
</IfModule>
Add index.php after DirectoryIndex
<ifmodule dir_module>
DirectoryIndex index.php index.html
</IfModule>
DocumentRoot "C:/apache2.2/htdocs"//change according to your website directory
2.mysql installation, this step is not set, according to the requirements of installation can be
3.php Installation
Name Php.ini-production php.ini for security, backup php.ini-production
Open php.ini find; extension_dir = "ext"
Revision changed to
Extension_dir = "C:/php/ext"
Copy the php.ini to the C:\WINDOWS.
Note: In Windows Server2003 installed Php+mysql+apache, encountered Apache can't find php5apache2_2.dll this dynamic link library, resulting in Apache can not start, road is clearly right, backward online search, Because of the need to vc++2008 Runtime support, so download installed, and sure enough, success!