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/
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/
相关文章推荐
- SSLSessionCache: Invalid argument: size has to be >= 8192 bytes
- java.lang.IllegalArgumentException: Invalid <url-pattern> toDo in 
- error: '>>' should be '> >' within a nested template argument list| C++ Dev
- 简单易懂的Android --NDK环境搭建>基础使用过程
- idhttp1.get('www.google.cn')时报 Invalid argument to date encode错误,如何解决。
- Invalid number of points in LineString (found 1 - must be 0 or >= 2)
- An SSL error has occurred and a secure connection to the server cannot be made.
- HttpWebRequest以UTF-8编码写入内容时发生“Bytes to be written to the stream exceed the Content-Length bytes size specified.”错误
- IIS7(Windows7)下最简单最强安装多版本PHP支持环境
- [Linux]解决msgsnd <Invalid argument>错误
- Redis 安装与简单示例 <第一篇>
- Row size too large (> 8126). Changing some columns to TEXT or BLOB ...
- ORA-39095: Dump file space has been exhausted: Unable to allocate 8192 bytes
- 本地环境 Ubuntu 下安装XAMPP,phpmyadmin无法正常访问解决办法 &lt;转&gt;
- robotics toolbox 安装错误Second argument must be either "get" or "post“
- IIS7(Windows7)下最简单最强安装多版本PHP支持环境
- 2016/07/31 安装cocoapods 失败 原因:ruby 环境版本必须大雨2.2 --> 更新到2.3后重新安装
- 安装Android studio出现'tools.jar' seems to be not in Android Studio classpath的解决方法
- 去除Warning C4251 “class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class
- has invalid type <class 'numpy.ndarray'>, must be a string or Tensor