Php XAMPP-未配置会话缓存[提示:SSLSessionCache]

Php XAMPP-未配置会话缓存[提示:SSLSessionCache],php,xampp,Php,Xampp,当我尝试使用XAMPP启动Apache服务器时,它主要说明以下内容: [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:

当我尝试使用XAMPP启动Apache服务器时,它主要说明以下内容:

[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\extra\httpd-ssl.conf

5) 在第70行添加该行

SSLSessionCache "shmcb:logs/ssl_scache(512000)"
6) 保存文件


7) 重新启动Apache

我和你有同样的问题, 就我而言,我已经安装了D sql server 2008 r2

您只需要停止service.msc中的服务


最后一块拼图给我-非常感谢(FWIW,我使用的是WAMP而不是XAMPP)。我的不工作,我不知道为什么
LoadModule socache\u shmcb\u module modules/mod\u socache\u shmcb.so\LoadModule speling\u modules/mod\u speling.so LoadModule ssl\u module modules/mod\u ssl.so
包括conf/extra/httpd ssl.conf
和最后的
SSLSessionCache“shmcb:C:/wamp64/bin/apache2.4.27/logs/ssl\u scache(512000)”
。我错过了什么。同样的错误总是出现。
stop all **SQL Service** or maybe one of them