Configuration enables Web server to run ASP and run PHP (without Apache)

Source: Internet
Author: User
Tags install php
Support ASP do not need redundant settings, as long as the correct installation of the IIS4 or IIS5 can be. Install PHP can choose the CGI or ISAPI mode, the specific installation can refer to the following instructions (excerpt from the PHP installation package file install.txt)
Windows nt/2000 and IIS 4 or newer and PWS 4 on NT Workstation or W2K non server editions
To install PHP in an nt/2000 Server running IIS 4 or newer,
Follow these instructions. Have two options to set up
PHP, using the CGI binary (Php.exe) or with the ISAPI module.
In either case, your need to start the Microsoft Management
Console (may appear as ' Internet Services Manager ', either
In your Windows NT 4.0 Option Pack branch or the control
Panel=>administrative Tools under Windows 2000). Then
Right click to your WEB server node (this'll most probably
Appear as ' Default Web Server '), and select ' Properties '.
If you are want to use the CGI binary, do the following:
Under ' home directory ', ' Virtual directory ', or
' Directory ', click on the ' Configuration ' button,
And then enter the APP Mappings tab.
Click Add, and in the executable box, type:
C:phpphp.exe (assuming, have unzipped PHP in c:php).
In the Extension box, type the file name Extension for you want
associated with PHP scripts. Leave ' method exclusions '
Blank, and check the Script engine checkbox. For May also
Like to check the ' Check this file exists ' box-for a small
Performance penalty, IIS (or PWS) 'll check that script
File exists and sort out authentication before firing up PHP.
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.