search
HomeBackend DevelopmentPHP TutorialInstall the official version of PHP4.0 on IIS_PHP tutorial
Install the official version of PHP4.0 on IIS_PHP tutorialJul 21, 2016 pm 04:01 PM
iiswindowssuperiorChineseexistInstallformal editionofSimplified

This article was written in the environment of Windows 2000 Simplified Chinese official version (IIS5.0). It should also be suitable for
IIS4.0 of Windows NT 4.0. Please let me know if you have any questions. Thank you all, ^ _^

1. Software download:
http://www.php.net/distributions/php-4.0.0-Win32.zip
2. Use WinZIP and other decompression tools to decompress php -4.0.0-Win32.zip is extracted to the PHP installation directory, such as C:PHP. In this article, $PHP_ROOT is used to replace the PHP installation directory;
3. For detailed English installation documents, please refer to the $PHP_ROOT directory. README.txt file;
4. Copy the php.ini-dist file in the $PHP_ROOT directory to the C:WINNT directory, and rename C:WINNTphp.ini-d
ist to C:WINNTphp.ini ;
5. Copy MSVCRT.DLL and php4ts.dll in the $PHP_ROOT directory to the C:WINNTsystem32 directory. If
these files already exist in the C:WINNTsystem32 directory, please do not overwrite them;
6. Modify C:WINNTphp.ini:
1) Set extension_dir to the PHP installation directory, such as: extension_dir = C:PHP
2) Configure the dynamic link library (DLL) to be loaded. Be sure to ensure that it can only be loaded. There is
dynamic link library in the $PHP_ROOT directory. This version comes with these dynamic link libraries: php_calendar.dll, php_imap.dll, php_ldap
.dll, so the configuration column of the dynamic link library is as follows:
;Windows Extensions
7. Click "Start->Programs->Administrative Tools->Internet Service Manager" Open "Internet Service Manager", right
click "Default Web Site-> Properties" to open the "Default Web Site Properties" window, under the "ISAPI Filter" configuration page, add a
Create a new filter, the filter name is PHP, and the executable file is the full path of the php4isapi.dll file $PHP_ROOT
php4isapi.dll, such as C:PHPphp4isapi.dll; under the "Home Directory" configuration page, click " Click the "Configure" button to open the "Application
Program Configuration" window and add an application mapping item. The executable file is the full path of the php4isapi.dll file
$PHP_ROOTphp4isapi.dll, such as C:PHPphp4isapi.dll, with the extension .php (of course it can be changed to something else
, but please note that your PHP program must use it as the suffix), tick "Script Engine";
8. Create a PHP program test directory, such as D:MyPHP, use $MyPHP to replace this directory in this article. In "Internet
Service Manager", right-click "Default Web Site->New->Virtual Directory", the alias is MyPHP, the actual path It is the path in $MyPHP
, in this example it is D:MyPHP, with permissions to read, run scripts and browse;
9. Restart the WWW service;
10. Write in the $MyPHP directory A test program phpinfo.php (note that the suffix must be consistent with the extension in 7), the content
is phpinfo(); ?>, and then enter http://localhost/myphp/ on the browser Test phpinfo.php. If you can
see PHP information, it means it is installed.





http://www.bkjia.com/PHPjc/316754.html

www.bkjia.com

http: //www.bkjia.com/PHPjc/316754.htmlTechArticleThis article is written in the environment of Windows 2000 Simplified Chinese official version (IIS5.0), under Windows NT It should also be suitable for IIS 4.0 of 4.0. If you have any questions, please let me know. Thank you all,...
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
CS玩家的首选:推荐的电脑配置CS玩家的首选:推荐的电脑配置Jan 02, 2024 pm 04:26 PM

1.处理器在选择电脑配置时,处理器是至关重要的组件之一。对于玩CS这样的游戏来说,处理器的性能直接影响游戏的流畅度和反应速度。推荐选择IntelCorei5或i7系列的处理器,因为它们具有强大的多核处理能力和高频率,可以轻松应对CS的高要求。2.显卡显卡是游戏性能的重要因素之一。对于射击游戏如CS而言,显卡的性能直接影响游戏画面的清晰度和流畅度。建议选择NVIDIAGeForceGTX系列或AMDRadeonRX系列的显卡,它们具备出色的图形处理能力和高帧率输出,能够提供更好的游戏体验3.内存电

Windows安装nginx1.10.1反向代理访问IIS网站的方法Windows安装nginx1.10.1反向代理访问IIS网站的方法May 23, 2023 pm 05:40 PM

首先去官网下载软件包,解压,路径最好不要有中文nginx配置的路径问题由于在windows下文件路径可以用”\”,也可以用”\\”,也可以用”/”作为路径做分隔符。但”\”最容易引发问题,所以要尽量避免使用。不要添加path,否则会引发错误,config文件路径找不到比如我解压在e盘cmd命令定位到nginx.exe所在文件夹cde:\worksoftware\nginx-1.10.1然后执行,首先保证nginx.conf文件配置没问题其实nginx最重要的和最主要的工作就是配置文件,其他没什么

iis在linux上可以用吗iis在linux上可以用吗Mar 23, 2023 am 09:24 AM

iis不可以在linux上使用,因为iis是由微软公司提供的基于运行Microsoft Windows的互联网基本服务,是在Windows操作系统平台下开发的,所以限制了它只能在Windows操作系统下运行。

进程无法访问 Windows 11 / 10 上的文件错误修复进程无法访问 Windows 11 / 10 上的文件错误修复May 12, 2023 pm 07:10 PM

众所周知,当任何文件正在使用时,任何其他进程都无法访问/更改它。在这种情况下,当一个进程试图打开一个文件时,操作系统会锁定该文件以防止它被另一个进程修改。“该进程无法访问该文件,因为它正被另一个进程使用”是许多用户在其Windows计算机上观察到的此类错误消息。已知此错误发生在不同版本的WindowsOS和WindowsServer中。通常,在用户的WindowsPC上使用Netsh命令期间会观察到此错误消息。发生此错误的另一种情况是尝试在Internet信息服务(IIS)M

iis应用程序池怎么打开iis应用程序池怎么打开Apr 09, 2024 pm 07:48 PM

要在 IIS 中打开应用程序池:1. 打开 IIS 管理器;2. 导航到 "应用程序池" 节点;3. 右键单击目标应用程序池并选择 "管理";4. 单击 "高级设置" 选项卡;5. 应用程序池配置可在此查看和修改。

php站用iis乱码而apache没事怎么解决php站用iis乱码而apache没事怎么解决Mar 23, 2023 pm 02:48 PM

​在使用 PHP 进行网站开发时,你可能会遇到字符编码问题。特别是在使用不同的 Web 服务器时,会发现 IIS 和 Apache 处理字符编码的方法不同。当你使用 IIS 时,可能会发现在使用 UTF-8 编码时出现了乱码现象;而在使用 Apache 时,一切正常,没有出现任何问题。这种情况应该怎么解决呢?

iis无法启动怎么解决iis无法启动怎么解决Dec 06, 2023 pm 05:07 PM

iis无法启动的解决办法:1、检查系统文件完整性;2、检查端口占用情况;3、启动相关服务;4、重新安装IIS;5、重置Windows系统;6、检查元数据库文件;7、检查文件权限;8、更新操作系统和应用程序;9、避免安装过多不必要的软件;10、定期备份重要数据。详细介绍:1、检查系统文件完整性,运行系统文件检查工具,检查系统文件的完整性等等。

iis无法启动解决方法iis无法启动解决方法Oct 24, 2023 pm 03:04 PM

解决方法:1、检查IIS服务是否已安装;2、检查依赖服务;3、检查端口冲突;4、检查配置文件和权限;5、重新注册IIS相关组件;6、检查日志文件。

See all articles

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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)