Install and configure ApachePHP in Win9x/ME

Source: Internet
Author: User
ApacheServer is one of the many WEB server software and has become one of the most popular web server software on the Internet. Compared with other web Server software (such as PWS, IIS, and UNIX), Apache is easy to install, simple to configure, and easy to manage. Apache Server is one of the many WEB Server software, it has become one of the most popular web server software on the Internet. Compared with other web server software (such as PWS, IIS, and UNIX), Apache has the advantages of easy installation, simple configuration, and convenient management. More importantly, it is completely free like PHP! So I have been favored BY many friends. next I will talk about how to install and configure Apache and PHP. come on, let's talk to me STEP BY STEP!

Step 1: Download Apache Server. The latest version of Apache Server in Apache official website (http://www.apache.org) can be found, we do not need to download to foreign countries, there are several domestic sites, such as http://phpuser.com, http://www.php.com.cn, http://www.phpchina.com have, download speed is quite fast! Download the self-decompressed installation file named apache_1_3_x_win32_r2.exe. Here, 1_3_x is the version number of apache. here we apply the latest version 1.3.14.

Step 2: install Apache Server. Like the general software, the installation process is very simple, all the way down [next], just to change its installation directory to [C: Apache] (), after the installation is complete, an [Apache Web Server] project will be added to [start]-> [program] in win98. At this time, Apache Server is successfully installed. you can proceed !!


Step 3: Configure Apache Server. The configuration of Apache Server is a little troublesome. because Apache Server was originally running on UNIX and has many UNIX features, for example, its configuration requires a special configuration file (suffixed with conf. Earlier versions of Apache Server have three files: httpd. conf, srm. conf, and access. conf, which must be configured by the user. Now we do not need to configure all three files in the version we use. you only need to configure httpd. conf! The following is the most important configuration. Use the [notepad] that comes with WIN98 to open the httpd. CONF file (C: Apacheconfhttpd. conf) in the [Apache] Directory under the C root directory ). This file is very long, but there are not many things to be corrected, and it is not complicated to take a closer look at the structure of this file. it consists of clarification statements and project configuration statements. The preceding "#" is a comment on this sentence. it is a clarification statement that does not work. The other is a configuration statement. In the configuration statement, make the following corrections:

1: Find ServerType (server type). Two of them are [standalone] and [inetd]. [standalone] listens to each connection through its own process, [inetd] starts the Apache process when the connection is reached. It is generally set to standalone, that is, this line is changed to ServerType standalone.

2: Find ServerRoot (the root directory of the Server), which is the installation directory of Apache Server. this line is changed:
ServerRoot 'C: Apache'

3: Find the port (Server port), which is usually 80 by default. if there are other Web servers installed on your pc, you must leave the two, for example, 80, one is 8080 !! Change to: port 80

4: Find ServerAdmin (server governance). This is the e-mail of the server administrator. If an error occurs on the server, the address is automatically added to the error page. you can ask him for help! You can also leave it uncorrected here.

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.