php XAMPP - 会话缓存未配置 [提示:SSLSessionCache]
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16644064/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
XAMPP - Session Cache is not configured [hint: SSLSessionCache]
提问by wakqasahmed
When i am trying to start Apache server using XAMPP, it mainly says the following:
当我尝试使用 XAMPP 启动 Apache 服务器时,它主要说明以下内容:
[Apache] Check the "/xampp/apache/logs/error.log" file
[Apache] and the Windows Event Viewer for more clues
I checked the error log and it says:
我检查了错误日志,它说:
"Session Cache is not configured"
Complete log is given below:
完整日志如下:
[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.
回答by wakqasahmed
Found a solution:
找到了解决办法:
Here are the instructions how to get rid of the SSLSessionCache message in XAMPP
以下是如何摆脱 XAMPP 中的 SSLSessionCache 消息的说明
1) Open file \xampp\apache\conf\httpd.conf
1) 打开文件\xampp\apache\conf\httpd.conf
2) Somewhere in the LoadModule area add the following line:
2) 在 LoadModule 区域的某处添加以下行:
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
3) Save the file
3) 保存文件
4) Now open file \xampp\apache\conf\extra\httpd-ssl.conf
4) 现在打开文件\xampp\apache\conf\extra\httpd-ssl.conf
5) at line 70 add the line
5) 在第 70 行添加一行
SSLSessionCache "shmcb:logs/ssl_scache(512000)"
6) Save the file
6) 保存文件
7) Restart Apache
7)重启Apache
回答by Bobby Z
I have same problem with you, in my case i've installedd sql server 2008 r2.
我和你有同样的问题,就我而言,我已经安装了 sql server 2008 r2。
you just need to stop the service in service.msc
你只需要在 service.msc 中停止服务
stop all **SQL Service** or maybe one of them