本文介绍了无法将模块/mod_ssl.so加载到服务器中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用WAMP将SSL设置为我的本地主机服务器. ( https://localhost )
I'm trying to set SSL to my localhost server with WAMP. (https://localhost)
我遵循了YouTube的这一课程: https://www.youtube.com/watch?v=TH6evGKgy20
I followed this Youtube course:https://www.youtube.com/watch?v=TH6evGKgy20
但是最后,我在Apache文件夹中运行"httpd -t"命令得到了此错误:
But finally, I got this error by running "httpd -t" command in Apache folder:
D:\Programs\wamp3\bin\apache\apache2.4.17\bin> httpd -t
httpd: Syntax error on line 173 of D:/Programs/wamp3/bin/apache/apache2.4.17/conf/h
ttpd.conf: Cannot load modules/mod_ssl.so into server: The operating system cannot
run %1.
出什么问题了?
推荐答案
问题是OpenSSL版本.
The problem was OpenSSL version.
我以前安装过Win 32版本,但我应该从此处一个>. (选中将DLL复制到Windows系统目录"选项)
I installed Win 32 version before, but I should install Win64 OpenSSL v1.0.2j Light from here. (With checked "Copy DLLs to Windows System directory" option)
安装后,一切正常!
这篇关于无法将模块/mod_ssl.so加载到服务器中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!