I tried to use the ISAPI dll on both NT4.0 IIS4 and Win2k IIS5.0, but I keep getting a 500 Internal Server Error. The cgi (php.exe) installation works fine, but as son as I change the script mapping to the php4isapi.dll, I can no longer execute my php pages. Any suggestions?

    Did you stop and restart ALL of the IIS related services. I found I had to reboot to get the change to really "take". Once I did that the ISAPI DLL worked for me.

      Hey Tim,

      I ran into the same problem you're describing when trying to install on IIS 5.0 running on Win2K. I found that I needed to place the entire binary distro into c:\winnt\system32 (I just created a new sub-directory called php4). Point the path mapping php scripts to c:\winnt\system32\php4\php4isapi.dll and then make sure you shutdown and the start the IIS Admin Service (you'll also need to start the WWW service as well of course). Merely restarting the service for the site you're installing PHP onto doesn't work. Oh ya..... perhaps adding the path to the PHP binaries to your PATH statement might work too (so you don't need to bury everything in the system path๐Ÿ™‚. Hope this helps!!!

      Cheers,

      Geoff A. Virgo

        a month later

        Thanx a lot!
        I had the same problem, but adding the php4 directory and php4/sapi directory to the path helped. Now it works fine - and faaast :-)

          Write a Reply...