使用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 的网站都要开启