首页 > 移动平台 > 详细

file_get_contents()获取https出现这个错误Unable to find the wrapper “https” – did

时间:2016-07-25 14:31:14      阅读:379      评论:0      收藏:0      [点我收藏+]

file_get_contents()获取https出现这个错误Unable to find the wrapper “https” – did

解决办法 ,如果你是用的服务器,可以参考这个办法,修改php配置文件(win主机),来支持https

在php.ini中找到并修改

    extension=php_openssl.dll
    allow_url_include = On

重启服务就可以了,如果你的是linux服务器,linux下的PHP,就必须安装openssl模块,安装好了以后就可以访了。

file_get_contents()获取https出现这个错误Unable to find the wrapper “https” – did

原文:http://www.cnblogs.com/zgaspnet/p/5703128.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!