Preparation: prepare installation steps: Prepare to c: 3, copy file c: php-4.3.0-Win3 Apache
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 file c: \ php-4.3.0-Win32 \ php. ini-dist to the Windows directory and renamed it php. ini, also put c: \ php-4.0.3-Win32 \ php4ts. dll copy to the windows \ system directory (For Win98) or to the winnt \ system32 directory (For NT4/NT5 ).
4. Use Notepad to edit the file C: \ Program Files \ Apache Group \ Apache2 \ conf \ httpd. 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 Files \ Apache Group \ Apache2 \ htdocs. the content is as follows:
2. open the browser and run: http: // localhost/test. php.
Hey, that's easy enough.