Install PHP_PHP tutorial using ISAPI method under WINDOWS 2000

WBOY
Release: 2016-07-21 16:11:35
Original
755 people have browsed it

Install PHP using ISAPI.

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

ISAPI method is the most efficient PHP execution method under IIS in WIN system. Highly recommended.

After decompressing PHP, first find php.ini-dist

Remove -dist to display it in text mode.

Open PHP.INI and make slight modifications. Use the search method to find TMP. After finding ./TMP, change the path to C:/TMP

Then create a new TMP folder on the C drive

After everything is done, copy PHP. INI and php4ts.dll are placed in the WINNT/SYSTEM32 folder on the C drive.

OK The first step is done. Then set up IIS

Open IIS, right-click under the server name (the row with a small computer mark) and select Properties, Edit, ISAPI Filter

knowsky.com
Then select Add.

Filter name input: PHP

Executable file selection: php-4.4.0-Win32sapiphp4isapi.dll

Note that you must use php4isapi.dll instead of PHP.EXE. Because using PHP.EXE is the CGI method and occupies the process, php4isapi.dll is the ISAPI method.

Then add PHP permissions to a single website (note that PHP permissions must not be the default settings, unless you decide to give each website PHP permissions. Otherwise it is very 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 Jin: php-4.4.0-Win32sapiphp4isapi.dll

OK The PHP permissions supporting ISAPI mode are ready. . . . . . .

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/313880.htmlTechArticleUse ISAPI to install PHP. Download link: http://cn2.php.net/get/php-4.4.0-Win32.zip/from/cn.php.net/mirror ISAPI method is the most efficient PHP execution method under IIS in WIN system. Highly recommended...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!