开发者

Php Openssl not loading why?

I am running a tweaked webmail application. However, for some reason the openssl extension isn't loading. I have enabled it in the php.ini, but when I run my application and check for loaded extensions using get_loade开发者_JAVA技巧d_extensions, the openssl is not in the array of loaded extensions. What is wrong here? The php_openssl.dll is physically there - I am running a wampserver and it looks ok. But on the execution end it is not working.


Depending on how php_openssl.dll was built/linked it depends on libeay32.dll and/or ssleay32.dll. Windows must be able to (also) load those two .dlls into the process running php in order to make the php_openssl.dll available/functional.
Since windows searches for .dlls (amongst other places) in the directory of the executable try placing libeay32.dll and ssleay32.dll in the apache/bin directory (where the httpd.exe resides) and restart the webserver.

see also: Dynamic-Link Library Search Order
and How to use Dependency Walker


Have you tried restarting your apache server?

And is the DLL in the right place?


This may help you. Copy dll files in windows and windows/system32 folders and then restart Apache server.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜