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...
Is this a self-compiled php version or installed via apt? Test: "/usr/bin/php5 -i | grep -i openssl" In any case: You should switch to php7. PrestaShop is compatible and it is a lot faster. The new version does not even support php5 any more: https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/#php-requirements Sometimes some other problems arise and lead to a false error message (if as you said TLS is already enabled)