Home > Backend Development > PHP Tutorial > Install Apache + PHP3_PHP tutorial under Windows

Install Apache + PHP3_PHP tutorial under Windows

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-13 17:08:05
Original
867 people have browsed it

This article only discusses how to install Apache+PHP3 under Windows NT 4.0 or Windows 2000.
The Apache I use is apache_1_3_12_win32.exe.
Note that you need to install PHP3 first. You can install it according to the document I wrote: Install PHP3 under Windows. Note that you do not need to do this step: 2. Software installation->3->f).
1. Software download
You can download the Windows version of Apache Web Server software from the following site:
http://www.apache.org/dist/binaries/win32/
2. Install Apache
1. Double-click the downloaded Apache executable file (such as apache_1_3_12_win32.exe) to install. When installing
, you can choose the installation destination. The default 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 when Apache Web Server is running. Since my IIS here is also running
, IIS used port 80, so I changed it to Port 8080. At this time, I entered http://localhost:8080/ on the browser to access the Apache Web Server.
Enter http:/ /localhost/ can access IIS, so that both Web Servers can be used
Oh, I use $PORT identification
ServerAdmin you@your.address
Set up the administrator's mailbox when there is a problem with the server , it will send the problems to the administrator's mailbox
   I changed it here to ServerAdmin hhzqq@chinaweal.com
  DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs"
Set the document root directory. When you enter http://localhost:$PORT/ on the browser, the server will read data from the document root directory. I changed it to
DocumentRoot "D:HZQPHP3", I use $DocumentRoot to identify

Change this to , here I am
    index.php index.phtml




http://www.bkjia.com/PHPjc/629885.html

www.bkjia.com

truehttp: //www.bkjia.com/PHPjc/629885.htmlTechArticleThis article only discusses how to install Apache+PHP3 under Windows NT 4.0 or Windows 2000. The Apache I use is apache_1_3_12_win32.exe. Note that you need to install PHP3 first, you can follow the document I wrote...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template