1. Install Apache
First disable the machine IIS (if started, because the default installation Apache use is also 80 port, there will be conflicts)
In the official Apache website download to Apache_2.2.3-win32-x86-no_ssl, double-click the installation, it is best not to install a space under the path can be put under the C:\apache2
Start Apache into http://localhost in IE if you see a page that says it works description APACEH is working
2. Install PHP5
In the official PHP website download to php-5.2.0-win32.zip, unzip the directory name to PHP, copy to C:\
Rename the php.ini-dist in the PHP directory to php.ini Copy to C:\Windows (or: \WINNT depending on the operating system) and copy Php5ts.dll and Libmysql to C:\Windows\System32
3. Allow Apache to run PHP program
modifying c:\apaceh2\conf\httpd.conf files
On the next line of #loadmodule Ssl_module modules/mod_ssl.so, add
* * (Note If your Apache is version 2.2 plus the following sentence)
LoadModule Php5_module C:/php/php5apache2_2.dll
(Note that if your Apache is version 2.0, add the following sentence)
LoadModule Php5_module C:/php/php5apache2.dll
In the next line of AddType Application/x-gzip gz. tgz, add
AddType application/x-httpd-php. php
Save
Write the simplest PHP page with just one line of code
? Phpinfo ();?>
Save for test.php put this file in C:\Apache2\htdocs
Start Apache browsing http://localhost/test.php
If you can see the PHP information, the php5+apache2.2 is configured to function
4. Install MYSQL4.1.3