Install PHP using ISAPI in WINDOWS 2000

Source: Internet
Author: User
Tags sapi tmp folder

Install PHP using ISAPI.

Connection: http://cn2.php.net/get/php-4.4.0-Win32.zip/from/cn.php.net/mirror

ISAPI is the most efficient PHP Execution method in Windows IIS. It is strongly recommended.

After extracting PHP, first find php. ini-dist

Remove the-dist and display it as text.

Open PHP. INI and make slight changes. Use the search method to find TMP./TMP and change the path strength to C:/TMP.

Create a TMP folder on drive C.

Copy the PHP file after completing the configuration. INI and php4ts. dll are stored in the WINNT/SYSTEM32 folder of drive C.

OK, the first step is done. Then set IIS

Open IIS, right-click the server name (the line marked by a PC), select Properties, edit, and ISAPI filter.

Knowsky.com
Then select Add.

Filter Name input: PHP

Executable File Selection: php-4.4.0-Win32 \ sapi \ php4isapi. dll

Be sure to use php4isapi. dll instead of PHP. EXE. Because PHP. EXE is CGI and processes are occupied, it is ISAPI in php4isapi. dll.

Then add PHP permissions to a single website (note that PHP permissions cannot be set by default unless you decide to grant PHP permissions to each website. Otherwise, it is dangerous)

Open IIS, right-click the address you want to grant permissions to, and select Properties, home directory, and configuration.

Then select Add.

Executable File input:. php

Path strength: php-4.4.0-Win32 \ sapi \ php4isapi. dll

OK supports PHP permissions in the ISAPI mode .......

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.