为什么安装 PHP for Windows 后缺少 php5isapi.dll?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1235437/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-25 01:39:02  来源:igfitidea点击:

Why is php5isapi.dll missing after installing PHP for Windows?

phpinstallation

提问by Brandon O'Rourke

It's been a while since I've installed PHP for Windows, but every guide I've seen online tells me to set IIS to recognize .PHP files with php5isapi.dll. However, I can't seem to find php5isapi.dll anywhere after installing PHP 5.3.0 and PHP 5.2.10.

自从我为 Windows 安装 PHP 已经有一段时间了,但是我在网上看到的每个指南都告诉我设置 IIS 以使用 php5isapi.dll 识别 .PHP 文件。但是,在安装 PHP 5.3.0 和 PHP 5.2.10 后,我似乎无法在任何地方找到 php5isapi.dll。

If I recall correctly it should be in C:\InstallDir

如果我没记错的话它应该在 C:\InstallDir

Am I missing something important?

我错过了什么重要的东西吗?

采纳答案by Brandon O'Rourke

I would try downloading the binaries (rather than the installer). I found php5isapi.dll in those zips, but the .exe/.msi doesn't seem to install that dll.

我会尝试下载二进制文件(而不是安装程序)。我在这些 zip 文件中找到了 php5isapi.dll,但 .exe/.msi 似乎没有安装那个 dll。

回答by Brandon O'Rourke

FastCGIreplaced php5isapi.dll

FastCGI取代php5isapi.dll

回答by Arachnid

Ironically, in the PHP 5.3.5 (Non Thread Safe, & Thread Safe) ZIPs you will find the "pws-php5isapi.reg" file. This registry key even mentions the php5isapi.dll file and setting it to the path of your PHP install. However, the ZIPs do not contain the dll file. Kind of an odd registry key to leave haging around if FastCGI is the only way to go now. Here's an article on Microsoft: http://technet.microsoft.com/en-us/library/dd450377(WS.10).aspx

具有讽刺意味的是,在 PHP 5.3.5(非线程安全和线程安全)ZIP 中,您会找到“pws-php5isapi.reg”文件。该注册表项甚至提到了 php5isapi.dll 文件并将其设置为 PHP 安装路径。但是,ZIP 不包含 dll 文件。如果 FastCGI 是现在唯一的出路,那就有点奇怪的注册表项了。这是一篇关于微软的文章:http: //technet.microsoft.com/en-us/library/dd450377(WS.10).aspx

回答by coding dog

I found php5isapi.dllin archive

php5isapi.dll存档中找到

回答by Moayad Mardini

The path is: C:\PHP\php5isapi.dll

路径是: C:\PHP\php5isapi.dll

EDIT

编辑

A step-by-step guide.

分步指南

回答by Anonymouse

The readme files in the install don't agree with the web pages they mention. The webpages mentioned have loose ends like this one. Well, anything but consistency, because us programmers love a challenge to maintain job security.

安装中的自述文件与他们提到的网页不一致。提到的网页有这样的松散结束。好吧,除了一致性,什么都不是,因为我们程序员喜欢挑战以保持工作安全。