Enabling Open SSL

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Enabling Open SSL

Postby Jstall » 08. July 2010 15:16

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!
Jstall
 
Posts: 13
Joined: 07. July 2010 20:20

Re: Enabling Open SSL

Postby JonB » 08. July 2010 20:49

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
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:
http://framework.zend.com/manual/en/zen ... 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.

8)
Last edited by JonB on 09. July 2010 23:00, edited 1 time in total.
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Enabling Open SSL

Postby Jstall » 09. July 2010 14:18

JonB,

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.


Jstall
Jstall
 
Posts: 13
Joined: 07. July 2010 20:20

Re: Enabling Open SSL

Postby JonB » 09. July 2010 14:37

cool 8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 48 guests