码迷,mamicode.com
首页 > Web开发 > 详细

只要是使用函数file_get_contents访问 https 的网站都要开启

时间:2018-03-29 02:16:23      阅读:356      评论:0      收藏:0      [点我收藏+]

标签:phone   request   www   访问   php   configure   file   https   ble   

使用file_get_contents();报错failed to open stream: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP? in D:\phpstudy\phpStudy\WWW\queryPhoneNumber\libs\httpRequest.php on line 35 将php.ini中的 extension=php_openssl.dll 开启就可以了,只要是使用函数file_get_contents访问 https 的网站都要开启

只要是使用函数file_get_contents访问 https 的网站都要开启

标签:phone   request   www   访问   php   configure   file   https   ble   

原文地址:https://www.cnblogs.com/lxwphp/p/8667205.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!