PHP5.2APACHE2.2BugFree1.0 installation

Source: Internet
Author: User
1. install APACHE first machine security IIS stop (if started, because the default installation of APACHE application is also port 80, will not stop conflict) in APACHE official website download to apache_2.2.3-win32-x86-no_ssl, double-click to install the tool. it is recommended that you do not install the tool when installing the tool.

1. install APACHE
Stop the IIS on the machine first (if it is started, because the default installation of the APACHE application is port 80, there will be conflicts if it is not stopped)
Download to the apache_2.2.3-win32-x86-no_ssl in APACHE official website, double-click installation, installation is best not to install a space path can be installed under c: \ apache2
Start APACHE and enter http: // localhost in IE. if it works is displayed on a page, it indicates that APACEH runs normally.
2. install PHP5
Download php-5.2.0-win32.zip from the official php website, decompress the package, change the directory name to php, and copy it to C :\
Put the php. ini-dist is renamed as php. copy ini to c: \ windows (or: \ winnt depends on the control system) and set php5ts. copy dll and libmysql to c: \ windows \ system32
3. enable APACHE to run PHP programs
Modify the c: \ apaceh2 \ conf \ httpd. conf file.
In the next line of # LoadModule ssl_module modules/mod_ssl.so, add

** (If your APACHE version is 2.2, add the following content)
LoadModule php5_module c:/php/php5apache2_2.dll
(Note that if your APACHE version is 2.0, you must add the following content)
LoadModule php5_module c:/php/php5apache2. dll
In AddType application/x-gzip. gz. tgz, add
AddType application/x-httpd-php. php
Retained
Write down the simplest PHP page with only one line of code

Save the file as test. php and place it in C: \ Apache2 \ htdocs.
Start APACHE to browse http: // localhost/test. php
If you can see the PHP information, clarify that php5 apache2.2 is configured as a function
4. install MYSQL4.1.3

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.