“Message: file_get_contents(): Unable to find the wrapper “https” - did you forget to enable it when you configured PHP?”
Message: file_get_contents(https://api.weixin.qq.com/sns/oauth2/acces****): failed to open stream: No such file or directory
以上报错提示信息,是在部署项目,进行微信网页授权时的错误提示。
首先,要确保php.ini配置文件中,开启allow_url_fopen,
然后,重要的一点,要开启php_openssl.dll扩展!