作者wheels ()
看板PHP
標題[請益] Ubuntu內fopen開https(不用curl)
時間Thu May 30 22:37:51 2013
因為某些問題不能用curl,
然而在Ubuntu 12.04上用fopen開https的網頁似乎會有
PHP Warning: fopen(): SSL operation failed with code 1. OpenSSL Error
messages:
error:14077410:SSL routines:func(119):reason(1040)
這個錯誤回報,請問該如何解決呢?感謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.28.212
→ dinos:openssl? ssl://? 05/30 23:25
→ wheels:從phpinfo看openssl有enable 05/30 23:47
→ wheels:不過ssl://沒東西 囧 05/30 23:49
→ wheels:抱歉 我裝了ca-certificates後依然一樣 請問該怎麼解呢 05/31 00:19
→ abola921:並開啟extension:openssl.so(dll) 05/31 11:58
→ wheels:結果更新過後就可以了...感謝樓上兩位解答^^ 06/02 20:57