Preparations:
Download apache_2.0.44-win32-x86-no_ssl.exe in the http://www.apache.org
Download php-4.3.0-win32.zip in http://www.php.net
Installation steps:
1、run apache_2.0.44-win32-x86-no_ssl.exe to install apache_2.0.44-win32-x86-no_ssl.exe.
2、decompress php-4.3.0-win32.zip to c:
3, copy the file c: php-4.3.0-Win32php.ini-dist to the Windows directory, and renamed php. ini, also copy the c: php-4.0.3-Win32php4ts.dll to the windowssystem directory (For Win98) or to the winntsystem32 directory (For NT4/NT5 ).
4. Use notepad to edit the file C: Program FilesApache GroupApache2confhttpd. conf
Add two rows:
LoadModule php4_module c:/php-4.3.0-Win32/sapi/php4apache2. dll
AddType application/x-httpd-php. php
5. Restart Apache. The entire installation process is complete. In fact, you need to add the php module to httpd. conf...
Test:
1. Write a test. php file in notepad and save it to C: Program FilesApache GroupApache2htdocs. The content is as follows:
<? Php phpinfo ();?>
2. Open the browser and run: http: // localhost/test. php.
Hey, that's easy enough.