MAMP:Apache服务器在Windows 10中自动关闭

问题描述 投票:-1回答:1

OSWindows 10MAMP4.1.1

安装后,每次我运行该程序时,Apache指示灯都会变绿一秒钟,然后自动关闭。 MySQL运行正常。

位于C:\MAMP\logs\apache_error.log的日志文件包含这些行。

[Fri Jan 17 18:03:42 2020] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]  
[Fri Jan 17 18:03:43 2020] [warn] pid file C:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?  
[Fri Jan 17 18:03:43 2020] [notice] Digest: generating secret for digest authentication ...  
[Fri Jan 17 18:03:43 2020] [notice] Digest: done

[我发现很多人在网上遇到与我相同的情况。但是我找不到解决方案。所以我来这里寻找潜在的解决方案。

P.S。我没有常见的端口80冲突问题。因此,我确定我的问题与此无关。

apache windows-10 mamp
1个回答
0
投票

导航到C:\ MAMP \ conf \ apache \ extra。

编辑httpd-ssl.conf并注释以下行:

...
SSLSessionCache        shmcb:/some/example/path/ssl_scache(512000)
...

收件人:

...
# SSLSessionCache        shmcb:/some/example/path/ssl_scache(512000)
...

也请查看https://cwiki.apache.org/confluence/display/HTTPD/SSLSessionCache了解更多信息。希望这会有所帮助。

© www.soinside.com 2019 - 2024. All rights reserved.