Windows7环境下简单安装Appache 2.2 和 PHP5(SSLSessionCache: Invalid argument: size has to be >= 8192 bytes )

来源:互联网 发布:街霸5网络功能已禁用 编辑:程序博客网 时间:2024/06/06 14:20
 

1, XAMPP for Windows的安装包下载:

http://www.apachefriends.org/zh_cn/xampp-windows.html

 2,下载后安装

  安装路径:C:\Program Files (x86)\xampp\

 

安装后启动不了。查看Windows的log,有如下错误:

The Apache service named  reported the following error:

>>> Syntax error on line 501 of C:/Program Files (x86)/xampp/apache/conf/httpd.conf:    

 

The Apache service named  reported the following error:

>>> SSLSessionCache: Invalid argument: size has to be >= 8192 bytes    

 

打开C:\Program Files (x86)\xampp\apache\conf\httpd.conf文件修改501行的内容

修改前:

SSLSessionCache "shmcb:/logs/ssl.scache(512000)"

修改后:

SSLSessionCache "shmcb:C:/PROGRA\~2/xampp/apache/logs/ssl.scache(512000)"

 

备考:段路径名的取得方法:

  dir /x即可

 --------------------------------------------------------------------

更多DOS命令的使用方法参照:

http://ykr414.com/dos/
原创粉丝点击