- This topic has 1 reply, 2 voices, and was last updated 13 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Tech › Web Development › How to Enable SSL on PHP
I need to connect to SMTP server over SSL, but I am getting this error message:
Could not connect to SMTP host. Unable to find the socket transport “ssl” – did you forget to enable it when you configured PHP?
Configure your WP Advanced Email Options as follows:
smtp.gmail.com / 465 / Use SSL encryption / Use SMTP authentication
Send a test message. If you are getting:
Could not connect to SMTP host.
Unable to find the socket transport "ssl" -
did you forget to enable it when you configured PHP?
you need to check phpinfo(). Search for openSSL.
If it is not installed and enabled you need to install it.
Rerun latest PHP install, make sure you picked OpenSSL extension.
Double check, if these lines added to your php.ini:
[PHP_OPENSSL]
extension=php_openssl.dll
Remember to restart your WEB server.
© 2017 DomainWebCenter.com. All Rights Reserved. | Disclaimer | Contact the Editor