Enable TLS in PHP-FPM

Discussion in 'HOWTO-Related Questions' started by SparkyRih, Feb 28, 2020.

  1. SparkyRih

    SparkyRih Member

    So I'm running ISPConfig on an Ubuntu machine. I use Apache and PHP7.2 as default PHP installation, and PHP-FPM with PHP 5.6.3 as secondary.

    3 of my websites are still running on PHP 5, and one of them (PrestaShop) is required to setup an SMTP connection with TLS. But it shows me the following error message:
    "Error: Please check your configuration
    The SMTP connection failed to start [tls://smtp.gmail.com:587]: fsockopen returned Error Number 22097 and Error String 'Unable to find the socket transport "tls" - did you forget to enable it when you configured PHP?'"

    How should I enable SSL/TLS in this secondary PHP installation?

    Edit: A quick phpinfo() reveals that SSL/TLS in enabled: OpenSSL/1.1.1, interesting...
     
    Last edited: Feb 28, 2020
  2. Steini86

    Steini86 Active Member

Share This Page