Posts Tagged ‘ openssl

Unable to find socket transport ssl while using PHPMailer 07 August 2008 at 1:46 pm by tumaji

Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Unable to find the socket transport “ssl” – did you forget to enable it when you configured PHP?) in C:\phpmailer\class.smtp.php on line 124
Mailer Error: SMTP Error: Could not connect to SMTP host.

หากเจอปัญหาแบบนี้วิธีแก้ก็ไปที่ php.ini
แก้ ;extension=php_openssl.dll
เป็น extension=php_openssl.dll
จากนั้น restart webserver ก็ใช้งานได้แล้ว