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

 kingjade999 发布于 2022-11-29 16:30

本地布置了一个环境,apachephp运行没有问题。echophpinfo()

pboard.png](/img/bVF2CF)

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

xampp中已经打开ssl模块

为何?

apacheerrorlog

AH00112:Warning:DocumentRoot[D:/xampp2/htdocs/haizhi-service/haizhi-service/frontend]doesnotexist
[FriNov2511:32:17.4194282016][ssl:warn][pid5936:tid608]AH01909:www.example.com:443:0servercertificatedoesNOTincludeanIDwhichmatchestheservername
[FriNov2511:32:17.4458432016][mpm_winnt:notice][pid5936:tid608]AH00354:Child:Starting150workerthreads.
[FriNov2511:33:22.6635692016][mpm_winnt:notice][pid6500:tid604]AH00428:Parent:childprocess5936exitedwithstatus3221225477--Restarting.
AH00112:Warning:DocumentRoot[D:/xampp2/htdocs/haizhi-service/haizhi-service/frontend]doesnotexist
[FriNov2511:33:23.0632622016][ssl:warn][pid6500:tid604]AH01909:www.example.com:443:0servercertificatedoesNOTincludeanIDwhichmatchestheservername
[FriNov2511:33:23.0872782016][mpm_winnt:notice][pid6500:tid604]AH00455:Apache/2.4.18(Win32)OpenSSL/1.0.2ePHP/7.0.1configured--resumingnormaloperations
[FriNov2511:33:23.0872782016][mpm_winnt:notice][pid6500:tid604]AH00456:ApacheLoungeVC14Serverbuilt:Dec9201510:17:39
[FriNov2511:33:23.0872782016][core:notice][pid6500:tid604]AH00094:Commandline:'d:\xampp2\apache\bin\httpd.exe-dD:/xampp2/apache'
[FriNov2511:33:23.0892812016][mpm_winnt:notice][pid6500:tid604]AH00418:Parent:Createdchildprocess4480
AH00112:Warning:DocumentRoot[D:/xampp2/htdocs/haizhi-service/haizhi-service/frontend]doesnotexist
[FriNov2511:33:23.4595422016][ssl:warn][pid4480:tid568]AH01909:www.example.com:443:0servercertificatedoesNOTincludeanIDwhichmatchestheservername
AH00112:Warning:DocumentRoot[D:/xampp2/htdocs/haizhi-service/haizhi-service/frontend]doesnotexist
[FriNov2511:33:23.5519732016][ssl:warn][pid4480:tid568]AH01909:www.example.com:443:0servercertificatedoesNOTincludeanIDwhichmatchestheservername
[FriNov2511:33:23.5760032016][mpm_winnt:notice][pid4480:tid568]AH00354:Child:Starting150workerthreads.

1 个回答
  • 连接被重置了,把php.ini的配置项

    session.use_only_cookies改为1
    2022-11-29 19:08 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有