First stop the machine's IIS (if it is started, because the default installation of Apache is also 80 port, the non-stop conflict)
In the official website of Apache download to Apache_2.2.3-win32-x86-no_ssl, double-click installation, installation should not be installed with the path of a space can be put under c:\apache2
Launch Apache to enter http://localhost in IE if you see a page that says it works notes that APACEH is working properly
2. Installing PHP5
Download the PHP official website to Php-5.2.0-win32.zip, unzip the directory name to PHP, copy to c \
Rename the php.ini-dist in PHP directory to php.ini Copy to C:\Windows (or: \WINNT depending on the operating system), copy Php5ts.dll and Libmysql to C:\Windows\System32
3. Allow Apache to run PHP programs
Modify the C:\apaceh2\conf\httpd.conf file
In 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 If your Apache is version 2.0 plus the following sentence)
LoadModule Php5_module C:/php/php5apache2.dll
On the next line of AddType Application/x-gzip. GZ tgz Plus
AddType application/x-httpd-php. php
Save
Write the simplest PHP page with just one line of code
Save As Test.php put this file in
The above describes the installation Apache installation Apache, including the installation of Apache content, I hope the PHP tutorial interested in a friend helpful.