开发者社区> 问答> 正文

apache配置https,当开启Include conf/extra/httpd-ssl.conf后,apache一重启就奔溃。



硬件环境:阿里云 win 2008 服务器。
软件环境:apache24  php5.6.28 。


查了各种资料,问题。
只要:Include conf/extra/httpd-ssl.conf 开启,重启就崩溃。


重启奔溃如下图:





错误日志:





[Fri May 19 19:29:40.767419 2017] [ssl:warn] [pid 13676:tid 1232] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 19 19:29:40.861157 2017] [mpm_winnt:notice] [pid 13676:tid 1232] AH00455: Apache/2.4.23 (Win64) OpenSSL/1.0.2j PHP/5.6.28 configured -- resuming normal operations
[Fri May 19 19:29:40.861157 2017] [mpm_winnt:notice] [pid 13676:tid 1232] AH00456: Server built: Jul  1 2016 12:18:33
[Fri May 19 19:29:40.861157 2017] [core:notice] [pid 13676:tid 1232] AH00094: Command line: 'E:\\wamp64\\httpd2.4.23\\Apache24\\bin\\httpd.exe -d E:/wamp64/httpd2.4.23/Apache24'
[Fri May 19 19:29:40.878766 2017] [mpm_winnt:notice] [pid 13676:tid 1232] AH00418: Parent: Created child process 14600
Qt: Untested Windows version 6.2 detected!
Qt: Untested Windows version 6.2 detected!
[Fri May 19 19:29:44.588715 2017] [ssl:warn] [pid 14600:tid 1132] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 19 19:29:44.631697 2017] [mpm_winnt:notice] [pid 14600:tid 1132] AH00354: Child: Starting 64 worker threads.


目录配置如下图:
cert目录










${SRVROOT}表示apache24 根目录。








只要: Include conf/extra/httpd-ssl.conf 开启,重启就崩溃。




求教。不胜感激。





展开
收起
明上月明 2017-05-19 23:38:33 15017 0
9 条回答
写回答
取消 提交回答
  • Reapache配置https,当开启Include conf/extra/httpd-ssl.conf后,apache一重启就奔溃
    我的捣鼓可以启动了,但是内网可以访问,外网访问不了。。。。
    2018-12-09 16:30:20
    赞同 展开评论 打赏
  • Reapache配置https,当开启Include conf/extra/httpd-ssl.conf后,apache一重启就奔溃
    把httpd-ssl.conf里面打开配置开关中,有文件目录都查一遍,改正确了就可以了。我也被这个问题困扰很久,终于解决了
    2018-12-04 03:44:21
    赞同 展开评论 打赏
  • 哈哈哈,这就是我的简介。
    Reapache配置https,当开启Include conf/extra/httpd-ssl.conf后,apache一重启就奔溃
    [基础常识]在 Windows 2008 系统为 phpstudy apache 不同网站配置不同SSL证书(SNI)


    看一下这篇帖子
    2018-10-19 16:22:17
    赞同 展开评论 打赏
  • Reapache配置https,当开启Include conf/extra/httpd-ssl.conf后,apache一重启就奔溃
    怎么解决的?我也有这问题!
    2018-10-19 10:27:25
    赞同 展开评论 打赏
  • Reapache配置https,当开启Include conf/extra/httpd-ssl.conf后,apache一重启就奔溃
    同问 楼主解决了吗
    2017-12-05 11:44:46
    赞同 展开评论 打赏
  • Reapache配置https,当开启Include conf/extra/httpd-ssl.conf后,apache一重启就奔溃
    同问,请问楼主解决了吗?
    2017-10-11 16:46:01
    赞同 展开评论 打赏
  • Reapache配置https,当开启Include conf/extra/httpd-ssl.conf后,apache一重启就奔溃
    牛人还是多
    2017-07-24 14:29:47
    赞同 展开评论 打赏
  • Reapache配置https,当开启Include conf/extra/httpd-ssl.conf后,apache一重启就奔溃
    单独创建vhostssl.conf文件,在httd.conf增加Include conf/vhostssl.conf,
    vhostssl.conf文件设置证书路径及域名和域名绑定的目录,端口设置443,然后启动!有不懂的加我,
    2017-07-19 22:21:44
    赞同 展开评论 打赏
  • Re:apache配置https,当开启Include conf/extra/httpd-ssl.conf后,apache一重启就奔溃 ..
    https://zhidao.baidu.com/question/1732484139889082067.html
    2017-05-20 08:39:15
    赞同 展开评论 打赏
滑动查看更多
问答排行榜
最热
最新

相关电子书

更多
Apache Flink技术进阶 立即下载
Apache Spark: Cloud and On-Prem 立即下载
Hybrid Cloud and Apache Spark 立即下载

相关镜像