后台php如何打开小程序中的https:文件

小程序控制台显示
data: "
Warning: file_get_contents() [

]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in D:\phpStudy\WWW\test.php on line 10

Warning: file_get_contents(
https://api.weixin.qq.com/sns/jscode2session?appid=*******&secret=********&js_code=021rTEFa1eS30C0HDxGa1r0Ytw4rTEFD&grant_type=authorization_code
) [
function.file-get-contents https://ask.csdn.net/function.file-get-contents
]: failed to open stream: No error in D:\phpStudy\WWW\test.php on line 10
↵"

如何处理php文件中的https问题?