Unable find socket transport ssl php did you forget to enable it

Unable find socket transport ssl php did you forget to enable it

Unable find socket transport ssl php

If you get error message unable to find in php, or undefined function, in most case this is because a php extension is not installed or not configured well, in this case: unable to find the socket transport ssl - did you forget to enable it when you configured PHP, the message is clear and did you forget to enable it when you configured PHP tell you that an extension is missing, to fix that you have to configure php ssl extension.

Download php open ssl and certificate

Download php_openssl.rar achive this rar file contain php_openssl.dll and curl-ca-bundle.crt those 2 file needed to solve ssl problem. Php Openssl Download

Php open ssl certificate

When you talk about ssl you must talk about certificate, and ssl certificate used to encrypts the connection between client and web server, what's is missing here is the ssl certificate, and the ssl certificate i owned work only with specific php_openssl.dll extension so first step is to copy the ssl certificate curl-ca-bundle.crt inside your local drive, in my case i copied that inside D:\curl-ca-bundle.crt .

Locate php_openssl.dll


Why you have to replace php_openssl.dll? you must replace php_openssl.dll because ssl certificate curl-ca-bundle.crt in the link above compatible only with the php_openssl.dll in the rar archive. To find php_openssl.dll first step go inside your EasyPhp folder and search for php_openssl.dll, in my case i got 3 php_openssl.dll you may got more you may got least, your job here is to replace the 3 php_openssl.dll with php_openssl.dll you get from the link above.

Change php ini configuration file

After you replaced all php_openssl.dll file, now you have to enable the extension from .ini configuration file, again go EasyPhp folder and this time search for *.ini open all those .ini file one by one with notepad and search for openssl: first step you will find ;extension=php_openssl.dll remove the semicolon and keep it extension=php_openssl.dll , second step click next you will find 2 value ;openssl.cafile= , remove the semicolon and insert the path of certificate file curl-ca-bundle.crt, the result should be like this openssl.cafile=D:\curl-ca-bundle.crt Notice D:\curl-ca-bundle.crt is where i copied curl-ca-bundle.crt repeat this step for all .ini file where you find php_openssl.dll.

Restart EasyPhp server

Of course after you changed your extension you must to restart EasyPhp, in system try right click over EasyPhp server , select start/restart all server. and there is no more failed to open stream: unable to find the socket transport ssl - did you forget to enable it when you configured PHP Solved .

Leave comment