使用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://www.cnblogs.com/lxwphp/p/8667205.html
时间: 2024-09-30 05:10:31