***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?***เจอข้อความนี้ค่ะ เลยก็อปปี้ ไปค้นใน google ดูค่ะ โอ้โห วิธีแก้เป็นภาษาอังกฤษ อ่านแล้วงง ช่วยแปลให้หน่อยจิ ต้องทำอะไรบ้างค่ะ
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.
Fatal 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?'
Here’s the solution to make your XAMPP support socket transport SSL.
1. First stop your Apache service
2. 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”
4. Start the Apache service
That’s it, your SSL transport socket in your XAMPP has been activated.