本地布置了一个环境,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