Installing the Apache + php3_php tutorial under Windows

Source: Internet
Author: User
This article discusses only 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 first, you can install it according to the document I wrote: Install PHP3 under Windows, and be careful not to do this: second, software Installation->3->f).
First, the software download
You can download the Windows version of Apache WEB Server software from the following sites:
http://www.apache.org/dist/binaries/win32/
Second, install Apache
1. Double-click the downloaded Apache executable (e.g. Apache_1_3_12_win32.exe) to install, install
You can choose the destination of the installation, the default is C:Program Filesapache Groupapache,
I use $apache_root to replace the installation destination;
2, modify $apache_rootconfhttpd.conf:
Port 80
Set the port number used by Apache WEB Server Runtime, as my IIS is also operating
Yes, IIS used the 80 port number, so I changed it to port 8080, and I was on 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 be used
Oh, I used the $port logo.
ServerAdmin you@your.address
Set up the admin mailbox and when the server goes wrong, it sends the problem 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 on the browser: $PORT/
To read the data from the document root, I changed it to
DocumentRoot "D:hzqphp3", I use $documentroot logo

Change this to
DirectoryIndex index.html
Set the default document, in order to support PHP3, I changed it to DirectoryIndex
Index.h tml index.htm index.php3 index.php index.phtml

http:// www.bkjia.com/PHPjc/629885.html www.bkjia.com true http:// www.bkjia.com/PHPjc/629885.html techarticle 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 first, you can follow the documents I have written in ...

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