Why is php5isapi.dll missing after installing PHP

2020-02-26 19:56发布

问题:

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.

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

Am I missing something important?

回答1:

FastCGI replaced php5isapi.dll



回答2:

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.



回答3:

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



回答4:

I found php5isapi.dll in archive



回答5:

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

EDIT

A step-by-step guide.



回答6:

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.