【问题标题】:Can't start Apache: Invalid command 'SSLCipherSuite'无法启动 Apache:无效命令“SSLCipherSuite”
【发布时间】:2017-09-26 12:56:07
【问题描述】:

我正在尝试让 SSL 与 WampServer 一起工作。我正在关注this answer,并进入该部分:Now test your Apache installation by calling httpd -t

此时 Apache 不会重新启动。 Windows 错误日志有一个条目:

The Apache service named  reported the following error:
>>> Invalid command 'SSLCipherSuite', perhaps misspelled or defined by a module not included in the server configuration     .

我可以注释掉SSLCipherSuite in:

  • C:\wamp\bin\apache\apache2.4.23\conf\extra\httpd-ssl.conf
  • C:\wamp\bin\apache\apache2.4.23\conf\original\extra\httpd-ssl.conf

但随后下一个命令在 Windows 错误报告中报告为无效命令。

任何指针?

【问题讨论】:

标签: openssl wampserver


【解决方案1】:

httpd.conf,需要开启mod_ssl.so

LoadModule ssl_module modules/mod_ssl.so

那么接下来的问题就是开启mod_socache_shmcb.so

LoadModule socache_shmcb_module modules/mod_socache_shmcb.so

【讨论】:

    【解决方案2】:

    您是否使用 enable-ssl 选项编译了 Apache httpd。如果没有,则重新编译httpd ssl,然后添加mod_ssl配置。

    【讨论】:

      【解决方案3】:

      我遇到了同样的问题,运行命令解决了:

      须藤a2enmod ssl

      希望它可以帮助某人:)

      【讨论】:

        猜你喜欢
        • 2012-04-14
        • 2012-12-07
        • 1970-01-01
        • 2021-12-09
        • 1970-01-01
        • 2016-10-10
        • 2017-03-19
        • 2013-10-29
        • 2020-08-21
        相关资源
        最近更新 更多