安装后配置wampserver启用SSL [英] configuring wampserver after installation to enable ssl

查看:1150
本文介绍了安装后配置wampserver启用SSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装wampserver与Apache v2.2.17和PHP v5.3.5。
当我使用功能的file_get_contents()与HTTPS URL作为一个参数,我得到以下警告:

I installed wampserver with Apache v2.2.17 and PHP v5.3.5. When I use the function file_get_contents() with the HTTPS URL as a parameter, I get the following warning:

警告:file_get_contents()函数
  [function.file-GET-内容]:无法
  找到包装https开头 - 你
  忘记你的时候启用
  配置PHP?在
  C:\\ WAMP \\ WWW \\ fbapp \\ index.php文件第22行

Warning: file_get_contents() [function.file-get-contents]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in C:\wamp\www\fbapp\index.php on line 22

有没有配置wampserver启用SSL没有重新安装它的方法吗?

Is there a way to configure wampserver to enable SSL without reinstalling it?

推荐答案

我看着它,你应该:


  1. 检查 ssl_module 在Apache模块。

  2. 检查 php_openssl 中的PHP扩展。

  1. Check ssl_module in the Apache modules.
  2. Check php_openssl in the PHP extensions.

工作! :)

这篇关于安装后配置wampserver启用SSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆