Home >Backend Development >PHP Tutorial >Apache2.44+PHP4.3.0 Quick Installation Guide ForWindows and Novices_PHP Tutorial
Preparation work: Download apache_2.0.44-win32-x86-no_ssl.exe from http://www.apache.org. Download php-4.3.0-Win32.zip from http://www.php.net. Installation steps: 1. Run apache_2.0.44-win32-x86-no_ssl.exe to complete the default installation. 2. Unzip php-4.3.0-Win32.zip to c: 3. Copy the file c:php-4.3.0-Win32php.ini-dist to Windows directory and rename it to php.ini. Also copy 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 and add two lines: 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 over, it is as simple as adding the php module to httpd.conf. . . Test: 1. Use Notepad to write a test.php file and save it to C:Program FilesApache GroupApache2htdocs. The content is as follows: 2. Open the browser and run: http://localhost/test.php Hehe, it’s simple enough. Bar