PHP 4.04 在window/nt/2000下各种服务器的安装方法(2)
用PHP作为过滤器名字,提供 phpisapi.dll的路径
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
在主(home)目录,点击配置按钮。增加一个新的程序映射入口。使用php4isapi.dll路径作为执行, .php 为扩展名,执行模式为空,选中脚本引擎
6. Stop IIS completely
完全停止 IIS
7. Start IIS again
重新启动 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
复制 php.ini-dist 到你的系统目录(安装 windows 的目录),改名字为 php.ini,同时编辑 php.ini 为你需要的配置
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).
运行 控制台管理(可能为 IIS服务管理器,在你的 windows NT 4.0 的 Option Pace 部分,或者win2000 的控制面版下的超级用户工具下)
3. Right click on your Web server node (will most probably appear as 'Default Web Server'), and select 'Properties'.
右键点击你的 web 服务器节点(大多数可能显示为"默认WEB服务器"),选择属性
4. Under 'Home Directory', click on the 'Configuration' 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.
在主(home)目录,点击配置按钮。增加一个新的程序映射入口。使用php4isapi.dll路径作为执行, .php 为扩展名,执行模式为空,选中脚本引擎
6. Put a .php file under your Web server's document root and check if it works!
在web主目录放一个 .php 文件,测试是否工作
------------------------------------------------------------------------------------------
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
复制 php.ini-dist 到你的系统目录(安装 windows 的目录),改名字为 php.ini,同时编辑 php.ini 为你需要的配置
2. Edit the enclosed PWS-php4isapi.reg (ISAPI interface) or PWS-php4cgi.reg (CGI interface) file to reflect the location of
your php4isapi.dll / php.exe. Forward slashes should be escaped, for example:
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesw3svcparametersScript Map] ".php"="C:Program FilesPHPphp4isapi.dll"
编辑附带的 PWS-php4isapi.reg (ISAPI 界面) 或者 PWS-php4cgi.reg (CGI 界面)文件来指出你的 php4isapi.dll 或 php.exe 路径,右斜杠需要转义。
3. In the PWS Manager, right click on a given directory you want to add PHP support to, and select Properties. Check the 'Execute' checkbox, and confirm.
在PWS管理,右键点击想支持 php 的路径,选择属性,选中执行。确认。
------------------------------------------------------------------------------------------
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
复制 php.ini-dist 到你的系统目录(安装 windows 的目录),改名字为 php.ini,同时编辑 php.ini 为你需要的配置
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"
编辑附带的 PWS-php4isapi.reg (ISAPI 界面) 或者 PWS-php4cgi.reg (CGI 界面)文件来指出你的 php4isapi.dll 或 php.exe 路径,右斜杠需要转义。
3. In the PWS Manager, right click on a given directory you want to add PHP
support to, and select Properties. Check the 'Execute' checkbox, and
confirm.
在PWS管理,右键点击想支持 php 的路径,选择属性,选中执行。确认。
4. At this point, PWS should have built-in PHP support.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The future of PHP will be achieved by adapting to new technology trends and introducing innovative features: 1) Adapting to cloud computing, containerization and microservice architectures, supporting Docker and Kubernetes; 2) introducing JIT compilers and enumeration types to improve performance and data processing efficiency; 3) Continuously optimize performance and promote best practices.

PHP and Python each have their own advantages, and the choice should be based on project requirements. 1.PHP is suitable for web development, with simple syntax and high execution efficiency. 2. Python is suitable for data science and machine learning, with concise syntax and rich libraries.

PHP and Python each have their own advantages, and choose according to project requirements. 1.PHP is suitable for web development, especially for rapid development and maintenance of websites. 2. Python is suitable for data science, machine learning and artificial intelligence, with concise syntax and suitable for beginners.

PHP remains important in modern web development, especially in content management and e-commerce platforms. 1) PHP has a rich ecosystem and strong framework support, such as Laravel and Symfony. 2) Performance optimization can be achieved through OPcache and Nginx. 3) PHP8.0 introduces JIT compiler to improve performance. 4) Cloud-native applications are deployed through Docker and Kubernetes to improve flexibility and scalability.

PHP is a scripting language widely used on the server side, especially suitable for web development. 1.PHP can embed HTML, process HTTP requests and responses, and supports a variety of databases. 2.PHP is used to generate dynamic web content, process form data, access databases, etc., with strong community support and open source resources. 3. PHP is an interpreted language, and the execution process includes lexical analysis, grammatical analysis, compilation and execution. 4.PHP can be combined with MySQL for advanced applications such as user registration systems. 5. When debugging PHP, you can use functions such as error_reporting() and var_dump(). 6. Optimize PHP code to use caching mechanisms, optimize database queries and use built-in functions. 7

The reasons why PHP is the preferred technology stack for many websites include its ease of use, strong community support, and widespread use. 1) Easy to learn and use, suitable for beginners. 2) Have a huge developer community and rich resources. 3) Widely used in WordPress, Drupal and other platforms. 4) Integrate tightly with web servers to simplify development deployment.

PHP is still dynamic and still occupies an important position in the field of modern programming. 1) PHP's simplicity and powerful community support make it widely used in web development; 2) Its flexibility and stability make it outstanding in handling web forms, database operations and file processing; 3) PHP is constantly evolving and optimizing, suitable for beginners and experienced developers.

PHP and Python each have their own advantages and are suitable for different scenarios. 1.PHP is suitable for web development and provides built-in web servers and rich function libraries. 2. Python is suitable for data science and machine learning, with concise syntax and a powerful standard library. When choosing, it should be decided based on project requirements.
