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 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?
Unable to find the socket transport https
also for ssl you need to prefix the host with ssl://
Unable to find the socket transport ssl in Zend framework 1.12
OpenSSL support isn't enabled on your web server. You can use phpinfo()
to see what extensions your PHP installation supports. If OpenSSL isn't one of them you're out of luck using SSL or TLS.
Related Topics
What's the Deal With a Leading Underscore in PHP Class Methods
Connecting to Ws-Security Protected Web Service With PHP
How to Create an Error 404 Page Using PHP
Creating a Thumbnail from an Uploaded Image
Convert Plain Text Urls into HTML Hyperlinks in PHP
Are There Good Tutorials on How to Use Pdo
Accurate Way to Measure Execution Times of PHP Scripts
: Operator (The 'Elvis Operator') in PHP
MySQL Datetime Fields and Daylight Savings Time - How to Reference the "Extra" Hour
Lamp: How to Create .Zip of Large Files For the User on the Fly, Without Disk/Cpu Thrashing
Get Data from Json File With PHP
How to Find Out Where a Function Is Defined
How to Only Allow Certain Filetypes on Upload in PHP
PHP to Search Within Txt File and Echo the Whole Line