Home > Backend Development > PHP Tutorial > Apache2.44 + PHP4.3.0 Quick Installation Guide (For Windows and Novices)_PHP Tutorial

Apache2.44 + PHP4.3.0 Quick Installation Guide (For Windows and Novices)_PHP Tutorial

WBOY
Release: 2016-07-13 17:11:52
Original
805 people have browsed it

Preparation work:
Download apache_2.0.44-win32-x86-no_ssl.exe at http://www.apache.org
Download php-4.3.0-Win32 at http://www.php.net. zip
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 the Windows directory and rename it to php.ini. Also copy c:php-4.0.3-Win32php4ts.dll to the windowssystem directory (For Win98 ) or copy it to the winntsystem32 directory (For NT4/NT5).
4. Use Notepad to edit the file C:Program FilesApache GroupApache2confhttpd.conf
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’s 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
Hey, it’s simple enough

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629545.htmlTechArticlePreparation: Download apache_2.0.44-win32-x86-no_ssl at http://www.apache.org. exe Download php-4.3.0-Win32.zip from http://www.php.net Installation steps: 1. Run apache_2.0.44-win32-x86-no_...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template