Apache2.44 + PHP4.3.0 Shortcut Installation Guide (for Windows and novices)
Source: Internet
Author: User
Preparatory work:
Download Apache_2.0.44-win32-x86-no_ssl.exe in 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 for default installation to the end
2, decompression 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 to PHP.ini, also c:php-4.0.3-win32php4ts.dll copy to the Windowssystem directory ( For Win98) or copy to the Winntsystem32 directory (for NT4/NT5).
4, with 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 is so simple, in fact, in the httpd.conf add PHP module ...
Test:
1, with Notepad to write a test.php file, saved to the C:Program Filesapache Groupapache2htdocs, the contents are as follows:
<?php phpinfo ();?>
2, open the browser to run: http://localhost/test.php
Hey, that's easy enough.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service