Installation of php5.2+apache2.2+bugfree1.0

Source: Internet
Author: User
Tags copy ini php website win32

1. Install Apache
First disable the machine IIS (if started, because the default installation Apache use is also 80 port, there will be conflicts)
In the official Apache website download to Apache_2.2.3-win32-x86-no_ssl, double-click the installation, it is best not to install a space under the path can be put under the C:\apache2
Start Apache into http://localhost in IE if you see a page that says it works description APACEH is working
2. Install PHP5
In the official PHP website download to php-5.2.0-win32.zip, unzip the directory name to PHP, copy to C:\
Rename the php.ini-dist in the PHP directory to php.ini Copy to C:\Windows (or: \WINNT depending on the operating system) and copy Php5ts.dll and Libmysql to C:\Windows\System32
3. Allow Apache to run PHP program
modifying c:\apaceh2\conf\httpd.conf files
On the next line of #loadmodule Ssl_module modules/mod_ssl.so, add

* * (Note If your Apache is version 2.2 plus the following sentence)
LoadModule Php5_module C:/php/php5apache2_2.dll
(Note that if your Apache is version 2.0, add the following sentence)
LoadModule Php5_module C:/php/php5apache2.dll
In the next line of AddType Application/x-gzip gz. tgz, add
AddType application/x-httpd-php. php
Save
Write the simplest PHP page with just one line of code
? Phpinfo ();?>
Save for test.php put this file in C:\Apache2\htdocs
Start Apache browsing http://localhost/test.php
If you can see the PHP information, the php5+apache2.2 is configured to 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.