Apache2.44 + PHP4.3.0 quick installation guide (ForWindows and Beginners)

Source: Internet
Author: User
Preparation: Download apache_2.0.44-win32-x86-no_ssl.exe in http://www.apache.org download php-4.3.0-win32.zip installation steps: uninstall default installation to end 2. unzip the p label: Apache preparation:
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.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.