在PHP中

extension=php_openssl.dll


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