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...