Page 1 of 1

Configuring for OpenSSL

PostPosted: 30. May 2011 02:56
by dwlamb
Good day,

I am having a challenge with getting openssl to work. I am using xampp 1.7.3 This challenge started with the error code
Code: Select all
call to undefined function openssl_get_public

trying to run a script for a secure log-in. This is the same if I use openssl_get_publickey instead.

Researching it, I discovered that my php.ini did not even have
Code: Select all
;extension=php_openssl.dll

much less that it was activated. Trying to activate it, php returned an error that php_openssl.dll did not exist in \xampplite\php\ext.

phpinfo.php says that Native OpenSSL support is enabled.

Googling this, all I have found is to unremark
Code: Select all
;extension=php_openssl.dll

How do I fix this, please?

Thanks for taking time to read this.

Re: Configuring for OpenSSL

PostPosted: 30. May 2011 04:01
by Sharley
XAMPPLite is just that, a very limited version.

I suggest you download and install the full version of XAMPP which does include OpenSSL.

You can download older versions (1.7.3 for example) form here if you wish:
SourceForge XAMPP File Repository

The alternate is to locate, via Google perhaps, the required files and install them yourself to the correct folder locations and add the correct line to the php.ini file, but there is still no guarantee that it will work with XAMPPLite but may be worth a try if you still want to use the lite version.