SMTP -> ERROR: Failed to connect to server: Unable to find the socket transport "ssl"
When testing new Xampp, had this trouble on using the mail using localhost even though i’m using gmail as a sender… The thing is I can’t seem to find ;extension=php_openssl.dll in my php.ini configuration so I just added it then it worked
- Stop your Apache service
- Find
libeay32.dll
andssleay32.dll
inxamppphp
folder, and copy it intoxamppapachebin
folder. Overwrite the older files in there. - Edit
php.ini
file inxamppapachebin
, remove the semicolon in “;extension=php_openssl.dll
” or add the code extension=php_openssl.dll - Start the Apache service