Unable to find the socket transport “ssl” - did you forget to enable it when you configured PHP?

Ran into this error recently… here’s how to fix it, assuming you have OpenSSL already installed on your system.  For OpenSSL your PHP config values look like this:

–with-openssl[=DIR]    Include OpenSSL support (requires OpenSSL >= 0.9.6)

So, if you’ve compiled from scratch, you can just recompile adding this flag to your configure command.

  1. 4 Responses to “Unable to find the socket transport “ssl” - did you forget to enable it when you configured PHP?”

  2. By Alexander Higgins on Jul 22, 2008 | Reply

    I am a windows guy, annoyed with blogger so I have just installed PHP and MySql on my windows 2003 server so I can run Wordpress. I am trying to import my blogger account into word press and get the “Unable to find the socket transport “ssl” - did you forget to enable it when you configured PHP? (0)” error.

    How do I configure it on a windows box? I uncommented the line in php.ini
    ;extension=php_openssl.dll, but still the same message.

    Any suggestions? do i need to install openssl?

  3. By szalinski on Jul 28, 2008 | Reply

    @Alexander

    I’m a windows guy too.. ;)

    I did the uncomment job like you did, except it works for me :)

    did you remember to restart Apache after you had edited the php.ini? :D

  4. By Nicksoft on Jul 30, 2008 | Reply

    Thank you, I had the same problem with a wordpress installation in my local “wamp” server, you solve me the problem in a few minutes!

    Bye

  5. By Alexander Higgins on Jul 31, 2008 | Reply

    I am running PHP on IIS not apache, I still love ASP.NET ;)

    Not only did I restart IIS, I rebooted the server as well. What version of PHP did you install?

Sorry, comments for this entry are closed at this time.

Close
E-mail It