Home Forums Tech Web Development How to Enable SSL on PHP

Tagged: , , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2298
    Udar Gromov
    Keymaster

    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?

    #2368
    maestro
    Participant

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.