How to Enable SSL socket using XAMPPGOZEN HOST
Many people in order to build their web site usually make all the work using localhost. For many reasons this is very helpful since you have the ability to edit all the files you need locally.
In this article we are going to show you how you can enable the SSL socket in order to test your web site since in many cases the SSL socket has to be enabled. In our servers this is enabled already.
So in case you face a similar error to the following: “Fatal error: Uncaught exception “Zend_Gdata_App_HttpException” with message «Unable to Connect to ssl://www.google.com:443. Error #24: Unable to find the socket transport “ssl” – did you forget to enable it when you configured PHP?»
You can solve the problem as follows
- First stop your Apache service
- Find libeay32.dll and ssleay32.dll in xampp\php\ folder, and copy it into xampp\apache\bin\ folder. Just overwrite the older files in there.
- Edit php.ini file in xampp\apache\bin, remove the semicolon in “;extension=php_openssl.dll”
- If you can’t find this line, just insert “extension=php_openssl.dll” in your php.ini
- Start the Apache service
That’s it, your SSL transport socket in your XAMPP has been activated.