E-mail setting in web application site
Hi today I have an experiment with GData in Zend Framework PHP , and found an error that my XAMPP prevent SSL socket transport and return this error.
Failed to connect to ssl://smtp.gmail.com:465 [SMTP: Failed to connect socket: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP? (code: -1, response: )] orFatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Unable to Connect to ssl://www.google.com:443. Error #24: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?'
Solution to make your XAMPP support socket transport SSL.
1. Stop your Apache service
1. Stop your Apache service
2. Go to XAMPP folder then php Find
libeay32.dll and ssleay32.dll in xampp\php\ folder, and copy it into xampp\apache\bin\ folder. Just overwrite the older files in there.3. Edit
php.ini file in xampp\apache\bin, remove the semicolon in “;extension=php_openssl.dll”If you can’t find this line, just insert “
extension=php_openssl.dll” in your php.ini4. Start/ReStart the Apache service
That’s all, your SSL transport socket in your XAMPP has been activated.