I'm working on installing PHP 4.3.8 on Windows Server 2003/IIS 6.0. Specifically, trying to get the openssl extension working. I've copied both libeay32.dll/ssleay32.dll into my system32 dir. When I go and uncomment the extension php_openssl.dll in php.ini, and check by running phpinfo(), it just hangs.

Not uncommenting any of the extensions, PHP runs fine. Uncommenting the gd extension (just to make sure extensions work), PHP runs fine, as indicated by phpinfo().

Also, I'm using the zip file and not the installer.

Any ideas would be helpful.

    Okay, I solved the problem by setting permissions for IUSR_ for both the copied dll's and the PHP directory itself. However, a new issue arises.

    When I use fsockopen with the appropriate wrapper (in this case, ssl://), I get a:

    Warning: fsockopen(): no SSL support in this build in...

    To be sure, I use phpinfo() and the OpenSSL extension is loaded up (along with Curl and GD).

    Again, any ideas would be appreciated.

      Solved the problem, kind of. Didn't use the php_openssl extension.

      I rolled back to 4.3.7, and I copied over a different version of php4ts.dll (since I couldn't find a similar fix for 4.3.8).

      Is this fixed in PHP 5?

        Write a Reply...