Hi, i ran out of ideas what could be the issue with PHPMailer.
The website is deployed on Laravel Forge with php7.4 on ubuntu 20
The same repo works fine on a localhost with same php7.4, however as soon as deployed on the Forge Server it refuses to work.
All required modules are installed and enabled. The only error in php error log is:
1. /usr/lib/php/20190902/ is the correct php extension path. However there is no openssl folder there
2. openssl is enabled in CLI and FPM configuration like this: extension=openssl When disabled from configuration openssl still runs and error does not show up ( that is verified also via php.info)
openssl version => OpenSSL 1.1.1f 31 Mar 2020
whereis openssl => openssl: /usr/bin/openssl /usr/include/openssl /usr/share/man/man1/openssl.1ssl.gz
php -i | grep "OpenSSL support" => OpenSSL support => enabled; Native OpenSSL support => enabled
Is the issue really in openssl or there is something else that breaks it?