file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?
1.windows下的PHP,只需要到php.ini中把extension=php_openssl.dll前面的;删掉,重启服务就可以了。
2.linux下的PHP,就必须安装openssl模块,安装好了以后就可以访问了。
本文介绍了如何解决PHP在Windows和Linux环境下无法通过https访问的问题。对于Windows环境,只需在php.ini文件中启用openssl扩展;而对于Linux环境,则需安装并配置openssl模块。
file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?
1.windows下的PHP,只需要到php.ini中把extension=php_openssl.dll前面的;删掉,重启服务就可以了。
2.linux下的PHP,就必须安装openssl模块,安装好了以后就可以访问了。
2046
6133
592

被折叠的 条评论
为什么被折叠?