使用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 的网站都要开启
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/113487.html原文链接:https://javaforall.net