【发布时间】:2011-06-14 00:52:16
【问题描述】:
我用 Apache v2.2.17 和 PHP v5.3.5 安装了 wampserver。
当我使用带有 HTTPS URL 作为参数的函数 file_get_contents() 时,我收到以下警告:
警告:file_get_contents() [function.file-get-contents]:无法 找到包装“https” - 你有没有 当你忘记启用它 配置PHP?在 C:\wamp\www\fbapp\index.php 第 22 行
有没有办法配置 wampserver 以启用 SSL 而无需重新安装?
【问题讨论】:
-
您可以将cURL functions 用于 SSL 请求。
标签: php apache ssl wampserver