php errconnectionreset,本地xampp运行环境,浏览器访问本地环境出现ERR_CONNECTION_RESET...

本地布置了一个环境,apache php运行没有问题。echo phpinfo()

pboard.png](/img/bVF2CF)

但是在打开本地网站环境的时候却无法打开:如下图

xampp中已经打开ssl模块

为何?

apache errorlog

AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/haizhi-service/frontend] does not exist

[Fri Nov 25 11:32:17.419428 2016] [ssl:warn] [pid 5936:tid 608] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

[Fri Nov 25 11:32:17.445843 2016] [mpm_winnt:notice] [pid 5936:tid 608] AH00354: Child: Starting 150 worker threads.

[Fri Nov 25 11:33:22.663569 2016] [mpm_winnt:notice] [pid 6500:tid 604] AH00428: Parent: child process 5936 exited with status 3221225477 -- Restarting.

AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/haizhi-service/frontend] does not exist

[Fri Nov 25 11:33:23.063262 2016] [ssl:warn] [pid 6500:tid 604] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

[Fri Nov 25 11:33:23.087278 2016] [mpm_winnt:notice] [pid 6500:tid 604] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations

[Fri Nov 25 11:33:23.087278 2016] [mpm_winnt:notice] [pid 6500:tid 604] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39

[Fri Nov 25 11:33:23.087278 2016] [core:notice] [pid 6500:tid 604] AH00094: Command line: 'd:\xampp2\apache\bin\httpd.exe -d D:/xampp2/apache'

[Fri Nov 25 11:33:23.089281 2016] [mpm_winnt:notice] [pid 6500:tid 604] AH00418: Parent: Created child process 4480

AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/haizhi-service/frontend] does not exist

[Fri Nov 25 11:33:23.459542 2016] [ssl:warn] [pid 4480:tid 568] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/haizhi-service/frontend] does not exist

[Fri Nov 25 11:33:23.551973 2016] [ssl:warn] [pid 4480:tid 568] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

[Fri Nov 25 11:33:23.576003 2016] [mpm_winnt:notice] [pid 4480:tid 568] AH00354: Child: Starting 150 worker threads.

回复内容:

本地布置了一个环境,apache php运行没有问题。echo phpinfo()

pboard.png](/img/bVF2CF)

但是在打开本地网站环境的时候却无法打开:如下图

xampp中已经打开ssl模块

为何?

apache errorlog

AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/haizhi-service/frontend] does not exist

[Fri Nov 25 11:32:17.419428 2016] [ssl:warn] [pid 5936:tid 608] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

[Fri Nov 25 11:32:17.445843 2016] [mpm_winnt:notice] [pid 5936:tid 608] AH00354: Child: Starting 150 worker threads.

[Fri Nov 25 11:33:22.663569 2016] [mpm_winnt:notice] [pid 6500:tid 604] AH00428: Parent: child process 5936 exited with status 3221225477 -- Restarting.

AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/haizhi-service/frontend] does not exist

[Fri Nov 25 11:33:23.063262 2016] [ssl:warn] [pid 6500:tid 604] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

[Fri Nov 25 11:33:23.087278 2016] [mpm_winnt:notice] [pid 6500:tid 604] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations

[Fri Nov 25 11:33:23.087278 2016] [mpm_winnt:notice] [pid 6500:tid 604] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39

[Fri Nov 25 11:33:23.087278 2016] [core:notice] [pid 6500:tid 604] AH00094: Command line: 'd:\xampp2\apache\bin\httpd.exe -d D:/xampp2/apache'

[Fri Nov 25 11:33:23.089281 2016] [mpm_winnt:notice] [pid 6500:tid 604] AH00418: Parent: Created child process 4480

AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/haizhi-service/frontend] does not exist

[Fri Nov 25 11:33:23.459542 2016] [ssl:warn] [pid 4480:tid 568] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/haizhi-service/haizhi-service/frontend] does not exist

[Fri Nov 25 11:33:23.551973 2016] [ssl:warn] [pid 4480:tid 568] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name

[Fri Nov 25 11:33:23.576003 2016] [mpm_winnt:notice] [pid 4480:tid 568] AH00354: Child: Starting 150 worker threads.

连接被重置了,把php.ini的配置项session.use_only_cookies 改为1

本文原创发布php中文网,转载请注明出处,感谢您的尊重!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值