錯誤訊息為:
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?)
其實是伺服器端的openssl未開啟,直接到c:\windows\php.ini 將#extension=php_openssl.dll的#拿掉,使其enable,再將Apache的服務重新啟動即可
文章標籤
全站熱搜
