作者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
1F:→ dinos:openssl? ssl://? 05/30 23:25
2F:→ wheels:从phpinfo看openssl有enable 05/30 23:47
3F:→ wheels:不过ssl://没东西 囧 05/30 23:49
4F:→ wheels:抱歉 我装了ca-certificates後依然一样 请问该怎麽解呢 05/31 00:19
6F:→ abola921:并开启extension:openssl.so(dll) 05/31 11:58
7F:→ wheels:结果更新过後就可以了...感谢楼上两位解答^^ 06/02 20:57