WinXP Apache + PHP + MySQL installation Setup method _win Server

Source: Internet
Author: User

Software version:

Apache:apache_2.2.14-win32-x86-no_ssl.msi

1.apache2.2

Select Custom, and then configure the installation directory, the default down, after the installation of Apache. You can test it first,

Browser IP address input 127.0.0.1.

You can see that you are working properly.

To start configuring Apache, in the installation directory ~\apache Software foundation\apache2.2\conf\, edit http.conf file, this is a text file, from the Start menu can also see his configuration.

Program \apache HTTP Server 2.2\configure Apache server\edit the Apache httpd.conf Configuration File.

Configure APACEH Active Directory

Find the keyword DocumentRoot, which is the site root and can be changed to its own directory.

Find directory, configured with the same directory as DocumentRoot, which must be synchronized.

The original text reads as follows:

This should is changed to whatever your set DocumentRoot to.

Find keywords, directoryindex (directory index, that is, the default file name displayed in the case of a directory only), you can add a lot, the system will be based on the order from left to right to display precedence, separated by a single half-width space, For example, some of the site's home page is index.htm, at the cursor where the "index.htm" file name is arbitrary, does not necessarily have to "index.html", such as "test.php" and so on, can be.

The simple configuration of Apache is complete.

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.