I tried to send messages from wordpress using gmail SMTP.
Server is set to smtp.gmail.com and port to 465.
I’m getting this message:
SMTP -> ERROR: Failed to connect to server: Unable to find thesocket transport “ssl” – did you forget to enable it when you
configured PHP? (34225384)
I’m on centOS
Should I recompile PHP and just enable something somewhere ?
It sounds like openssl hasn’t been installed/enabled. Check
phpinfo()for mentions of openssl, if it’s not there you might need to re-compile with openssl support or enable the extension in php.ini.