To install Apache + PHP3 under Windows

Source: Internet
Author: User
Tags iis port number
This article only discusses how to install APACHE+PHP3 under Windows NT 4.0 or Windows 2000.
I use Apache for Apache_1_3_12_win32.exe.
Note that you have to install PHP3 Oh, you can install according to My Documents: Install PHP3 under Windows, note that do not need to do this step: II, Software Installation->3->f).
First, software download
You can download the Windows version of the Apache WEB Server software from the following sites:
http://www.apache.org/dist/binaries/win32/
Second, the installation of Apache
1, double-click the download of the Apache executable file (such as Apache_1_3_12_win32.exe) for installation, installation
You can choose to install the destination, the default is C:Program Filesapache Groupapache,
I use $apache_root to replace the installation destination;
2, modify the $apache_rootconfhttpd.conf:
Port 80
Set the port number used by the Apache Web Server runtime, because my IIS is also being shipped
OK, IIS uses the 80 port number, so I changed it to port 8080, and I was in the browser
Enter http://localhost:8080/to access the Apache Web Server server.
You can access IIS when you enter http://localhost/, so that two Web servers can use
Oh, I used the $port logo.
ServerAdmin you@your.address
Set up administrator's mailbox, when the server problem, it will send the problems that appear to the administrator mailbox
, I've changed it to ServerAdmin hhzqq@chinaweal.com.
DocumentRoot "C:/Program Files/apache group/apache/htdocs"
Set the document root directory, when you enter http://localhost on the browser: $PORT/, Service
The device reads the data from the root of the document, and I change it to
DocumentRoot "D:hzqphp3", I use $documentroot logo
<directory "C:/Program files/apache Group/apache/htdocs" >
Change this to <directory $DocumentRoot, I'm here for
<directory "D:HZQPHP3" >
DirectoryIndex index.html
Set the default document, in order to support PHP3, I changed it to DirectoryIndex.
index.html index.htm index.php3 index.php index.phtml
Related Article

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.