Configuring for OpenSSL

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

Configuring for OpenSSL

Postby dwlamb » 30. May 2011 02:56

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.
dwlamb
 
Posts: 3
Joined: 20. August 2010 22:17

Re: Configuring for OpenSSL

Postby Sharley » 30. May 2011 04:01

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.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 205 guests