摘要: PHP.ini默认配置下,用file_get_contents读取https的链接,就会报如下错误,本文给出解决方法 错误: Warning: fopen() [function.fopen]: Unable to find the wrapper "https" - did you forget 阅读全文
posted @ 2016-05-26 07:55 网络虫 阅读(958) 评论(0) 推荐(0)
摘要: 初学php的朋友们,很容易翻一个错误,在写采集程序或者调用api接口总会有线考虑到使用file_get_contents函数来或许内容,程序的访问量不大倒是没什么影响,但是访问量提升了那非常的悲剧了,你会发现服务器负载飙升,最后服务器宕机.初入公司便遇到这个问题,遂使用curl取代此命令,并且禁用远 阅读全文
posted @ 2016-05-26 07:19 网络虫 阅读(1507) 评论(0) 推荐(0)