Jul 26

Hi today I have an experiment with GData in Zend Framework PHP , and found an error that my XAMPP prevent SSL socket transport and return this error.

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?'

Here’s the solution to make your XAMPP support socket transport SSL.
1. First stop your Apache service
2. 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.
3. Edit php.ini file in xampp\apache\bin, remove the semicolon in “;extension=php_openssl.dll
4. Start the Apache service

That’s it, your SSL transport socket in your XAMPP has been activated.

3 Responses to “How to enable XAMPP SSL socket transport”

  1. William says:

    It works thank you so much! :) I needed this for enabling in-line-gdocs for a local installation of wordpress. It worked flawlessly!

    In php.ini the line to edit is 636

  2. Nandini says:

    Do you know how to do this same thing for xampp on linuxz??

Leave a Reply

preload preload preload