首頁 php教程 php手册 PHP 4.04 在window/nt/2000下各种服务器的安装方法(2)

PHP 4.04 在window/nt/2000下各种服务器的安装方法(2)

Jun 21, 2016 am 09:01 AM
ini php the windows

 

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.



本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn

熱門文章

R.E.P.O.能量晶體解釋及其做什麼(黃色晶體)
2 週前 By 尊渡假赌尊渡假赌尊渡假赌
倉庫:如何復興隊友
4 週前 By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island冒險:如何獲得巨型種子
3 週前 By 尊渡假赌尊渡假赌尊渡假赌

熱門文章

R.E.P.O.能量晶體解釋及其做什麼(黃色晶體)
2 週前 By 尊渡假赌尊渡假赌尊渡假赌
倉庫:如何復興隊友
4 週前 By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island冒險:如何獲得巨型種子
3 週前 By 尊渡假赌尊渡假赌尊渡假赌

熱門文章標籤

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發環境

Dreamweaver CS6

Dreamweaver CS6

視覺化網頁開發工具

SublimeText3 Mac版

SublimeText3 Mac版

神級程式碼編輯軟體(SublimeText3)

適用於 Ubuntu 和 Debian 的 PHP 8.4 安裝和升級指南 適用於 Ubuntu 和 Debian 的 PHP 8.4 安裝和升級指南 Dec 24, 2024 pm 04:42 PM

適用於 Ubuntu 和 Debian 的 PHP 8.4 安裝和升級指南

Bybit交易所最新版本怎麼更新?不更新會有影響嗎? Bybit交易所最新版本怎麼更新?不更新會有影響嗎? Feb 21, 2025 pm 10:54 PM

Bybit交易所最新版本怎麼更新?不更新會有影響嗎?

deepseek網頁版入口 deepseek官網入口 deepseek網頁版入口 deepseek官網入口 Feb 19, 2025 pm 04:54 PM

deepseek網頁版入口 deepseek官網入口

Pi Node教學:什麼是Pi節點?如何安裝和設定Pi Node? Pi Node教學:什麼是Pi節點?如何安裝和設定Pi Node? Mar 05, 2025 pm 05:57 PM

Pi Node教學:什麼是Pi節點?如何安裝和設定Pi Node?

deepseek怎麼安裝 deepseek怎麼安裝 Feb 19, 2025 pm 05:48 PM

deepseek怎麼安裝

如何設定 Visual Studio Code (VS Code) 進行 PHP 開發 如何設定 Visual Studio Code (VS Code) 進行 PHP 開發 Dec 20, 2024 am 11:31 AM

如何設定 Visual Studio Code (VS Code) 進行 PHP 開發

您如何在PHP中解析和處理HTML/XML? 您如何在PHP中解析和處理HTML/XML? Feb 07, 2025 am 11:57 AM

您如何在PHP中解析和處理HTML/XML?

Coinsuper交易所軟件渠道官網入口 Coinsuper交易所軟件渠道官網入口 Feb 21, 2025 pm 10:39 PM

Coinsuper交易所軟件渠道官網入口

See all articles