search
Homephp教程php手册WINDOWS 2000下使用ISAPI方式安装PHP_php基础

使用ISAPI方式安装PHP。

下载连接:http://cn2.php.net/get/php-4.4.0-Win32.zip/from/cn.php.net/mirror

ISAPI方式是WIN系统IIS下最有效率的PHP执行方式。强烈建议。

解压好PHP后,首先找到php.ini-dist

把-dist   去掉,就成了文本方式显示。

打开PHP.INI  做略微修改。使用查找方式找TMP  找到./TMP着个路劲后,把路劲改成C:/TMP

然后在C盘新建TMP文件夹

全做好以后,拷贝  PHP。INI和php4ts.dll,放到C盘WINNT/SYSTEM32文件夹下。

OK  第一步做好了。然后设置IIS

打开IIS   在服务器名称(有个小电脑标记的那一行)下点击右键选择 属性,编辑,ISAPI筛选器

knowsky.com
然后选择添加。

筛选器名称输入:PHP

可执行文件选择:php-4.4.0-Win32\sapi\php4isapi.dll

注意一定要使用php4isapi.dll,而不要使用PHP.EXE。因为用PHP.EXE就是CGI方式,而且占用进程了,php4isapi.dll下就是ISAPI方式了。

然后给单个网站添加PHP权限(注意PHP权限绝不能是用默认设置,除非你决定给每个网站都有PHP权限。否则很危险的)

打开IIS,在你要给权限的那个地址上点击右键,然后选择属性,主目录,配置。

然后选择添加。

可执行文件输入:.php

路劲:php-4.4.0-Win32\sapi\php4isapi.dll

OK  支持ISAPI方式的PHP权限就做好了。。。。。。。

Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools