您的位置:首页 > 移动开发

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

2011-10-10 06:00 543 查看
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/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐