How to Find the Socket Transport "Ssl" - Did You Forget to Enable It When You Configured PHP

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

Check your php.ini file, on it, if you have this:

;extension=php_openssl.dll

change it to

extension=php_openssl.dll

After that, remember to restart Apache, either using any control panel that Appserver offers, or using the services windows on the control panel of the system.

Also be sure that php_openssl.dll is on a folder that the system can reach, many people use to solve the problem of dll location problems by copying them to C:\windows or C:\windows\system32. Although that shouldn't be necessary.

After that, execute a file with phpinfo and check that it's enabled.

I have read somewhere, can't pinpoint it, that some installation of that kind of wamps have more that one php.ini, but only one is really active, could it be that you have edited the wrong one?

Socket transport ssl in PHP not enabled

Success!

After checking the log files and making sure the permissions on php_openssl.dll were correct, I googled the warning and found more things to try.

So I:

  • added C:\PHP\ext to the Windows path
  • added libeay32.dll and ssleay32.dll to C:\WINDOWS\system32\inetsrv
  • rebooted the server

I'm not sure which of these fixed my problem, but it's definately fixed now! :)

I found these things to try on this page:
http://php.net/manual/en/install.windows.extensions.php

Thanks for your help!

Unable to find the socket transport https

also for ssl you need to prefix the host with ssl://



Related Topics



Leave a reply



Submit