本地布置了一个环境,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.
连接被重置了,把php.ini的配置项
session.use_only_cookies改为1