在 WAMP 中启用 OpenSSL [英] Enabling OpenSSL in WAMP

查看:23
本文介绍了在 WAMP 中启用 OpenSSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天在 Windows 7 计算机上安装了最新的 WAMP(来自 wampserver.com).

I installed the latest WAMP (from wampserver.com) today on my Windows 7 computer.

我在 PHP > 中启用了 SSLPHP 扩展 >php_openssl

Apache >Apache 模块 >open_ssl

但是当我尝试使用 https://访问任何内容时,我收到问题加载页面".apache_error.log 说

But when I try to access anything with https:// I get "Problem Loading Page". The apache_error.log says

[Thu Jun 27 16:25:08.622056 2013] [ssl:warn] [pid 4812:tid 356] AH01882: Init: this version of mod_ssl was compiled against a newer library (OpenSSL 1.0.1e 11 Feb 2013, version currently loaded is OpenSSL 1.0.1d 5 Feb 2013) - may result in undefined or erroneous behavior


[Thu Jun 27 16:25:08.973076 2013] [ssl:warn] [pid 4812:tid 356] AH01882: Init: this version of mod_ssl was compiled against a newer library (OpenSSL 1.0.1e 11 Feb 2013, version currently loaded is OpenSSL 1.0.1d 5 Feb 2013) - may result in undefined or erroneous behavior


[Thu Jun 27 16:25:09.356098 2013] [ssl:warn] [pid 4812:tid 356] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]


[Thu Jun 27 16:25:09.365099 2013] [mpm_winnt:notice] [pid 4812:tid 356] AH00455: Apache/2.4.4 (Win64) OpenSSL/1.0.1d PHP/5.4.12 configured -- resuming normal operations

[Thu Jun 27 16:25:09.365099 2013] [mpm_winnt:notice] [pid 4812:tid 356] AH00456: Server built: Feb 22 2013 22:08:37

[Thu Jun 27 16:25:09.365099 2013] [core:notice] [pid 4812:tid 356] AH00094: Command line: 'c:\wamp\bin\apache\apache2.4.4\bin\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'

[Thu Jun 27 16:25:09.366099 2013] [mpm_winnt:notice] [pid 4812:tid 356] AH00418: Parent: Created child process 3452

[Thu Jun 27 16:25:09.664116 2013] [ssl:warn] [pid 3452:tid 248] AH01882: Init: this version of mod_ssl was compiled against a newer library (OpenSSL 1.0.1e 11 Feb 2013, version currently loaded is OpenSSL 1.0.1d 5 Feb 2013) - may result in undefined or erroneous behavior

[Thu Jun 27 16:25:09.954132 2013] [ssl:warn] [pid 3452:tid 248] AH01882: Init: this version of mod_ssl was compiled against a newer library (OpenSSL 1.0.1e 11 Feb 2013, version currently loaded is OpenSSL 1.0.1d 5 Feb 2013) - may result in undefined or erroneous behavior

[Thu Jun 27 16:25:10.327154 2013] [ssl:warn] [pid 3452:tid 248] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]


[Thu Jun 27 16:25:10.339154 2013] [mpm_winnt:notice] [pid 3452:tid 248] AH00354: Child: Starting 150 worker threads.

推荐答案

带有 apache 2.4.4 的 Wampserver 发布了错误的 openssl 文件.所有要做的事情是:从这里下载并安装 1.0.1e openssl:http://slproweb.com/products/Win32OpenSSL.html

Wampserver with apache 2.4.4 released with wrong openssl files. All the things to do is: download and install the 1.0.1e openssl from here: http://slproweb.com/products/Win32OpenSSL.html

然后在安装目录中找到这些文件:

Then find these files in the installed directory:

binopenssl.cfg

binopenssl.cfg

binlibeay32.dll

binlibeay32.dll

binssleay32.dll

binssleay32.dll

binopenssl.exe

binopenssl.exe

停止 apache 服务器.首先,保存它们的备份.然后在你的 apache 目录中覆盖这些文件:

Stop the apache server. at first, save a BACKUP of them. Then overright these files in your apache directory:

confopenssl.cnf->在这里重命名cfg

confopenssl.cnf->rename the cfg here

binlibeay32.dll

binlibeay32.dll

binssleay32.dll

binssleay32.dll

binopenssl.exe

binopenssl.exe

重启服务器.解决了.​​

Restart the server. Solved.

这篇关于在 WAMP 中启用 OpenSSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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