XAMPP - 会话缓存没有配置[提示:SSLSessionCache]

问题描述:

当我试图开始使用XAMPP的Apache服务器,它主要说下:XAMPP - 会话缓存没有配置[提示:SSLSessionCache]

[Apache] Check the "/xampp/apache/logs/error.log" file 
[Apache] and the Windows Event Viewer for more clues 

我检查错误日志和它说:

"Session Cache is not configured" 

完成日志在下面给出:

[ssl:warn] [pid 5008:tid 316] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache] 
[mpm_winnt:notice] [pid 5008:tid 316] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations 
[mpm_winnt:notice] [pid 5008:tid 316] AH00456: Server built: Aug 18 2012 12:41:37 
[core:notice] [pid 5008:tid 316] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache' 
[mpm_winnt:notice] [pid 5008:tid 316] AH00418: Parent: Created child process 1400 
[ssl:warn] [pid 1400:tid 324] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache] 
[mpm_winnt:notice] [pid 1400:tid 324] AH00354: Child: Starting 150 worker threads. 

实测值的溶液:

下面是如何在XAMPP摆脱SSLSessionCache消息的指令

1)打开文件\ XAMPP的\ apache的\的conf \ httpd.conf中

2)某处在LoadModule区域添加以下行:

LoadModule socache_shmcb_module modules/mod_socache_shmcb.so 

3)保存文件

4)现在打开文件\ XAMPP的\ apache的\的conf \额外\的httpd-ssl.conf中

5)行70行添加

SSLSessionCache "shmcb:logs/ssl_scache(512000)" 

6)保存文件

7)重启Apache

+0

最后一块拼图停止该服务在service.msc我 - 非常感谢(FWIW,我使用WAMP而非XAMPP)。 – Alfie

+0

我不工作我不知道为什么。 'LoadModule socache_shmcb_module modules/mod_socache_shmcb.so #LoadModule speling_module modules/mod_speling.so LoadModule ssl_module modules/mod_ssl.so','Include conf/extra/httpd-ssl.conf'和最后'SSLSessionCache'shmcb:C:/ wamp64 /bin/apache/apache2.4.27/logs/ssl_scache(512000)“'。任何我错过了。同样的错误总是显示出来。 –

我和你同样的问题, 在我的情况,我installedd SQL服务器2008 R2。

你只需要

stop all **SQL Service** or maybe one of them