Page 1 of 1

Enabling Open SSL

PostPosted: 08. July 2010 15:16
by Jstall
Hello all,

I am running Apahe/Mysql/PHP via XAMPP. I am trying to enable openSSL but have run into difficulties. After searching for a way to do this I found a tutorial that directed me to copy the libeay32.dll and ssleay32.dll from my PHP root folder to my windows/system32 folder and then uncomment extension=php_openssl.dll in php.ini. However once I looked in my php.ini file I found there was no extension=php_openssl.dll line. If I try to just insert the line I get the following error upon restarting Apache : "PHP Startup: Unable to load dynamic library 'C/xampp/php/ext/php_openssl.dll' - the specified module could not be found ". I am running Xampp version 1.7.3. Could anyone suggest a reason why this is not working? Or why the extension=php_openssl.dll line was not in my php.ini file to begin with? Any help is very much appreciated, thanks much!

Re: Enabling Open SSL

PostPosted: 08. July 2010 20:49
by JonB
XAMMP apparently comes with a Zend built version in \php\PEAR\Zend\Filter\encrypt\openssl.php. This may account for why php_openSSL.dll is not present. (it would go in the XAMPP/php/ext folder I believe, and it would probably need to be a VC6 compile for PHP 5.3, something "I" did not find)

OpenSSL 'seems to be enabled by default already - check your phpinfo() - search for open -

OPENSSL_CONF C:/xampp/apache/bin/openssl.cnf
OpenSSL support enabled
OpenSSL Library Version OpenSSL 0.9.8l 5 Nov 2009
OpenSSL Header Version OpenSSL 0.9.8l 5 Nov 2009

read this and see if the functionality required is present: ... r.set.html

I am NOT expert enough to give you further advice, but I am very curious to see how this works out.

Good Luck with your project.


Re: Enabling Open SSL

PostPosted: 09. July 2010 14:18
by Jstall

Thanks much for the reply. Indeed after checking phpinfo I found that OpenSSL is enabled. I am a junior developer(graduated from college three weeks ago) working on a project at a small company. I recently tried to implement a piece of proprietary software but found it was not working as specified, after troubleshooting I found Open SSL not being enabled could account for the behavior. After not finding the openssl extension line in php.ini I felt it was a strong possibility. I couldn't find a clear answer(that I could understand) on my own and our systems admin guy is on vacation so I made a post here :) . Thanks again for the hand, I appreciate it.


Re: Enabling Open SSL

PostPosted: 09. July 2010 14:37
by JonB
cool 8)