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

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

问题描述

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

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

我已在PHP > PHP Extensions > php_openssl

Apache > Apache Modules > 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:

bin \ openssl.cfg

bin\openssl.cfg

bin \ libeay32.dll

bin\libeay32.dll

bin \ ssleay32.dll

bin\ssleay32.dll

bin \ openssl.exe

bin\openssl.exe

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

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

conf \ openssl.cnf->在此处重命名cfg

conf\openssl.cnf->rename the cfg here

bin \ libeay32.dll

bin\libeay32.dll

bin \ ssleay32.dll

bin\ssleay32.dll

bin \ openssl.exe

bin\openssl.exe

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

Restart the server. Solved.

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

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