php安装常见错误
2013-09-29 16:08
357 查看
1.memcache support requires ZLIB解决办法
checking for the location of zlib... configure: error: memcache support requires ZLIB. Use --with-zlib-dir=<DIR> to specify prefix where ZLIB include and
library are located
yum install zlib-devel或
rpm -ihv zlib-devel-1.2.3-3.x86_64.rpm
2.安装完成后,出现memcache已经安装的提示:
Note: packaged extension modules are now loaded via the .ini files
; found in the directory /etc/php.d; these are loaded by default.
;;;;
在/etc/php.d/下已经生产memcache.ini的配置文件.所以,我们不需要手动去加.
3.checking for the location of zlib... configure: error: memcache support requires ZLIB. Use --with-zlib-dir=<DIR> to specify prefix where ZLIB include and
library are located
说白了就是在/usr/include/下找不到zlib.h头文件.
相关文章推荐
- FileZilla ftp服务器安装
- phpize和php-config安装模块
- ThinkPHP第三方类库
- zend framework 2 更换布局模板(layout)和内容模板
- php输出带尖括号的内容
- php上传文件到服务器
- doophp prod模式下无法加载class bug
- 常用的PHP类库,PHP开发者必备【转】
- PHP执行外部命令【转】
- PHP错误 。Parse error: syntax error, unexpected T_INLINE_HTML, expecting T_ENDSWITCH or T_CASE or T_DEFAULT
- Ubuntu11.10配置tftp服务器
- ubuntu 安装ftp服务及简单配置(2013.9)
- PHP IP地址函数ip2long(),long2ip()
- CI核心文件分析之基准测试类 (Benchmark.php)
- 关于php的chmod函数的问题
- PHP分页之自动适应范围的页码分页程序
- phpcms 源码分析七: 模板引擎实现
- phpcms 源码分析六:index文件
- phpcms 源码分析五:文件缓存实现
- phpcms 源码分析四: 数据库类实现