Installing PHP with ISAPI under WINDOWS 2000

Source: Internet
Author: User
Tags filter install php iis ini sapi tmp folder win32

Use the ISAPI method to install PHP.

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

The ISAPI method is the most efficient way to execute PHP under Win system IIS. Strongly recommended.

After you unpack your PHP, you first find php.ini-dist.

Remove the-dist, and it becomes a text display.

Open the php.ini and make a slight change. Find TMP by using the lookup method./tmp After a road strength, change the road strength to C:/tmp

Then create a new TMP folder on disk C

After all is done, copy PHP. INI and Php4ts.dll, put them under the C-Disk Winnt/system32 folder.

OK The first step is done. Then set up IIS

Open IIS under the server name (a line with a small computer tag) right-click to select Properties, edit, 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 using PHP.EXE. Because using PHP.EXE is the CGI way, and occupies the process, Php4isapi.dll is the ISAPI way.

Then add PHP permissions to a single Web site (note that PHP permissions must not be set by default unless you decide to have PHP permissions for each site.) Otherwise it's dangerous.)

Open IIS, right-click on the address you want to give permission to, and then select Properties, home directory, configuration.

Then select Add.

Executable file input:. php

Lu Jing: Php-4.4.0-win32\sapi\php4isapi.dll

OK to support the ISAPI way of PHP permissions are done ....



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.