PHP Installation Guide: NT + Apache + php3_php Tutorial

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, please refer to the related articles in the previous article for PHP3 installation.
Second, install Apache
1, double-click the downloaded Apache executable file (such as Apache_1_3_12_win32.exe) for installation, you can choose to install the destination, the default is C:Program Filesapache Groupapache.
2. Modify C:Program Filesapache GroupApacheconfhttpd.conf:Port 80
Set the port number used by the Apache Web Server runtime, because my IIS is also running, IIS uses the 80 port number, so I changed it to port 8080, and I entered http://localhost:8080/on the browser. To access the Apache Web server server, you can access IIS when you enter http://localhost/, so that two Web servers can be used. Note that some of the port numbers that have been used by other applications are not available to us, such as the port number of 23,ftp for Telnet port number is 21,dns 53, and so on.
ServerAdmin You@your.address Set up the admin mailbox, when the server problem, it will send the problem to the administrator mailbox, I changed it to a pert@21cn.com
DocumentRoot "C:/Program Files/apache group/apache/htdocs"
Set the document root directory, when you enter the Http://localhost:PORT port number/On the browser, the server will read the data from the document root directory, of course you can also change it to your favorite directory, for example: DocumentRoot "D:/phproot".
 
Note: If you want to make changes to the path specified by DocumentRoot, the same changes will be made to the same place in httpd.conf two.
 

Change this to , I'm here for

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
3, in order to use PHP, should also be in the C:Program filesapache groupapacheconfhttpd.conf file without the end of a paragraph similar to the following:
scriptalias/php3/"c:/php3/"
AddType application/x-httpd-php3. php3. php. phtml
Action application/x-httpd-php3 "/php3/php.exe"
Note that c:/php3/should be changed to your PHP directory, and not.
4, Apache installed in the Start menu group has a shortcut, run the install Apache as a service, so that in NT service there is a more than one called Apache services, use it can start or stop Apache services.
5, start the Apache service, finished loading, I wish you good luck.

http://www.bkjia.com/PHPjc/629876.html www.bkjia.com true http://www.bkjia.com/PHPjc/629876.html techarticle 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 Oh, the installation of PHP3, you can check ...

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