Install Apache + PHP3_PHP in Windows

Source: Internet
Author: User
Install Apache + PHP3 in Windows. This article only discusses how to install Apache + PHP3 in WindowsNT4.0 or Windows2000. The apachei use is apache_1_3_12_win32.exe. Note that you must install PHP3 first. you can follow the instructions in this article to only discuss how to install Apache + PHP3 in Windows NT 4.0 or Windows 2000.
The apachei use is apache_1_3_12_win32.exe.
Note that you must install PHP3 first. you can install it according to my documents: install PHP3 in Windows. Note that you do not need to perform this step: 2. install the software-> 3-> f ).
I. software download
You can download the Apache Web Server software for Windows from the following sites:
Http://www.apache.org/dist/binaries/win32/
II. install Apache
1. install and install the apacheexecutable File (for example, apache_1_3_12_win32.exe ).
You can select the installation destination. the default value is C: Program FilesApache GroupApache,
I use $ APACHE_ROOT instead of the installation destination;
2. modify $ APACHE_ROOTconfhttpd.conf:
Port 80
Set the port number used for running Apache Web Server.
Line, IIS uses Port 80, so I changed it to Port 8080, then I am in the browser
Enter http: // localhost: 8080/to access the Apache Web Server,
Enter http: // localhost/to access IIS, so that both Web servers can use
Oh, I use $ PORT.
ServerAdmin you@your.address
Set the administrator mailbox. when there is a problem with the server, it will send the problem to the administrator mailbox.
I changed it to ServerAdmin hhzqq@chinaweal.com here
DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs"
Set the document root directory. when you enter http: // localhost: $ PORT/in your browser
The server reads data from the root directory of the document. I changed it
DocumentRoot "D: HZQPHP3", which is identified by $ DocumentRoot

Change this Here is
       
DirectoryIndex index.html
Set the default document. to support php3, I changed it to DirectoryIndex.
Index.html index.htm index. php3 index. php index. phtml

NT 4.0 or Windows 2000 to install Apache + PHP3. The apachei use is apache_1_3_12_win32.exe. Note that you must install PHP3 first. you can follow the instructions in my documents...

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.