Unable to find the socket transport 'ssl' - did you forget to enable it when you configured

解決方案:

該錯誤表明PHP不支持openssl,解決方案:

windows下,在php.ini中打開opensll擴展,並將php目錄下的libeay32.dll和ssleay32.dll兩個庫拷貝到system32下;

linux下,重新編譯php,編譯時加上參數--enable-ssl(具體參看configure的help

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章