您的位置:首页 > 理论基础 > 计算机网络

php在通过file_get_contents()做https请求时提示错误

2017-04-15 00:00 441 查看
Warning: file_get_contents(): Unable to find the wrapper "https" -
did you forget to enable it when you configured PHP?

修改php.ini文件中的如下内容

;extension=php_openssl.dll

去掉注释即可。注意是php.ini文件
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息