php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45121 PHP Startup: Unable to load dynamic library 'c:/root/php/ext/php_openssl.dll'
Submitted: 2008-05-28 21:37 UTC Modified: 2008-07-22 08:56 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: chameleon_red_one at o2 dot pl Assigned:
Status: Not a bug Package: IIS related
PHP Version: 5.2.6 OS: Windows XP
Private report: No CVE-ID: None
 [2008-05-28 21:37 UTC] chameleon_red_one at o2 dot pl
Description:
------------
I have such problem that if I am running PHP over Windows XP IIS 5.1 it is not able to load libeay32.dll and ssleay32.dll from c:/root/php/ directory.

It results that I have no ssl (dump from phpinfo()):
Registered Stream Socket Transports 	tcp, udp

In php_error.log is something like that:
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/root/php/ext/php_openssl.dll' - The operating system cannot run %1.

Strange is that if order IIS to execute php-cgi.exe from same path it results:
Registered Stream Socket Transports 	tcp, udp, ssl, sslv3, sslv2, tls

So currently half of iis use php5isapi.dll and half php-cgi.exe.

Why such problem occurs is it bug or not - I was done about 100 of searches and it is not help to find solution? I am very experience programmer so I bet that it read in isapi mode ssleay32.dll from c:\windows not c:\root\php but why cgi works?

Expected result:
----------------
I want to run *.php via php5isapi.dll on whole IIS 5.1 and not user php-cgi.exe to have ssl protocol enable.

On phpinfo() I will be seeing:
Registered Stream Socket Transports 	tcp, udp, ssl, sslv3, sslv2, tls

Actual result:
--------------
Currently isapi not allow to load php_openssl.dll extenstion on iis 5.1

Registered Stream Socket Transports 	tcp, udp

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-21 12:25 UTC] pajoye@php.net
it works but the extension is not loaded. It certainly fails to load the ssl DLLs. I close it (bogus), please reopen it if you consider that there is other problems involved.
 [2008-07-22 08:56 UTC] chameleon_red_one at o2 dot pl
As I was observed is it is not what is suspected "It certainly fails to load the ssl DLLs."

When I use php-cgi.exe as *.php server it always work.
When I use php5isapi.dll as *.php server it always not work.

In both case I use exactly the same php.ini on the same computer :)

So if it such simple why in the first case it works and in the second case not works - I am not understand from your description and spend a lot of time and not found it explained yet?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 02:01:29 2024 UTC