PHP 4.04 installation methods for various servers under window/nt/2000 (2)

Source: Internet
Author: User
Tags empty execution iis ini php file

Use PHP as the filter name to provide the Phpisapi.dll path

5. Under Home Directory, click on the Configuration button. ADD a new entry to the application mappings. Use the path the
Php4isapi.dll as the executable, supply. php as the extension, leave method exclusions, blank, and check the Script engine
CheckBox

In the main (home) directory, click the Configure button. Add a new program mapping entry. Using the Php4isapi.dll path as execution,. PHP is the extension, the execution mode is empty, and the script engine is selected

6. Stop IIS completely

Stop IIS completely

7. Start IIS again

Restart IIS



------------------------------------------------------------------------------------------


IIS 4.0+ (CGI)
1. Copy the php.ini-dist to your systemroot (the directory where you installed Windows), rename it to PHP.ini, and
Edit it to fit your needs

Copy Php.ini-dist to your system directory (install Windows directory), change name to PHP.ini, and edit php.ini for the configuration you need

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

Run Console Management (possibly for the IIS Service Manager, in the Option Pace section of your Windows NT 4.0, or under Superuser tools under the Win2000 Control plate)

3. Right click your Web server node (would most probably appear as ' Default Web server '), and select ' Properties '.

Right-click on your Web server node (most likely the "Default Web Server"), select Properties

4. Under ' Home Directory ', click on the ' Configuration ' button.

In the home directory, select the ' Configure ' button

5.ADD a new entry to the application mappings; Use the path to Php.exe as the executable, supply. php as the extension, leave
' Method exclusions ', blank, and check the Script engine checkbox.

In the main (home) directory, click the Configure button. Add a new program mapping entry. Using the Php4isapi.dll path as execution,. PHP is the extension, the execution mode is empty, and the script engine is selected

6. Put a. php file under your WEB server ' s document root and check if it works!

Put a. php file in the Web home directory and test whether it works


------------------------------------------------------------------------------------------



PWS 4.0+ (ISAPI):
1. Copy the php.ini-dist to your systemroot (the directory where you installed Windows), rename it to PHP.ini, and
Edit it to fit your needs

Copy Php.ini-dist to your system directory (install Windows directory), change name to PHP.ini, and edit php.ini for the configuration you need

2. Edit the enclosed pws-php4isapi.reg (ISAPI interface) or Pws-php4cgi.reg (CGI interface) file to reflect the location O F
Your php4isapi.dll/php.exe. Forward slashes should is escaped for example:
[Hkey_local_machinesystemcurrentcontrolsetservicesw3svcparametersscript Map] ". php" = "C:Program FilesPHPphp4isapi.dll"

Edit the accompanying Pws-php4isapi.reg (ISAPI interface) or Pws-php4cgi.reg (CGI interface) file to indicate your Php4isapi.dll or php.exe path, the right slash needs to be escaped.

3. In the PWS Manager, right click on a given directory for your want to add PHP support to, and select Properties. Check the ' Execute ' checkbox, and confirm.

In PWS admin, right click on the path you want to support PHP, select Properties, select Execute. Confirm.


------------------------------------------------------------------------------------------


PWS 4.0+ (CGI):
1. Copy the php.ini-dist to your systemroot (the directory where you installed Windows), rename it to PHP.ini, and
Edit it to fit your needs

Copy Php.ini-dist to your system directory (install Windows directory), change name to PHP.ini, and edit php.ini for the configuration you need

2. Edit the enclosed Pws-php4.reg file to reflect the location of your php.exe. Forward slashes should be escaped,
For example:
[Hkey_local_machinesystemcurrentcontrolsetservicesw3svcparametersscript Map] ". php" = "C:Program FilesPHPphp.exe"

Edit the accompanying Pws-php4isapi.reg (ISAPI interface) or Pws-php4cgi.reg (CGI interface) file to indicate your Php4isapi.dll or php.exe path, the right slash needs to be escaped.

3. In the PWS Manager, right click on a given directory for your want to add PHP
Support to, and select Properties. Check the ' Execute ' checkbox, and
Confirm.

In PWS admin, right click on the path you want to support PHP, select Properties, select Execute. Confirm.

4. At this point, PWS should have built-in PHP support.



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.