Ubuntu內fopen開https(不用curl) - Linux

Table of Contents

※ [本文轉錄自 PHP 看板 #1HfsH2Q4 ]

作者: 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)

這個錯誤回報,請問該如何解決呢?感謝!

--

All Comments

Harry avatarHarry2013-06-03
有裝 ca-certificates ?
Ophelia avatarOphelia2013-06-03
應該是沒有 囧 我查查看
Ivy avatarIvy2013-06-08
抱歉我裝了ca-certificates後依然一樣 請問該怎麼解呢?
Caroline avatarCaroline2013-06-11
那 OpenSSL 呢?
Hazel avatarHazel2013-06-13
用apt-get install openssl裝了@@
Jake avatarJake2013-06-15
結果更新過後就可以了...感謝樓上