摘要: 解决:memcache.c:xxx: error: too few arguments to function 'zend_list_insert'打开memcache.c文件,将所有的:zend_list_insert(pool,le_memcache_pool);改为:zend_list_insert(pool,le_memcache_poolTSRMLS_CC);保存,退出继续编译,成功搞定!文章来源:《http://www.centos.bz/2011/11/linux-install-php-memcache/》php扩展memcache的作用是为了支持memcach 阅读全文
posted @ 2013-05-30 17:24 keethebest 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 1、出现错误的场合:运行/usr/local/webserver/php/bin/phpize时出现: Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script. 根据网上的解决办法是: 阅读全文
posted @ 2013-05-30 17:23 keethebest 阅读(3915) 评论(0) 推荐(0) 编辑
摘要: 问题场景:error while loading shared libraries: libevent-1.3.so.1:cannot open shared object file :No such file or directory(找不到库文件-libevent-1.3.so.1)解决方案:1. 首先到官网下载对应的源码版本编译安装:http://libevent.org/2. 安装完毕后切记手动执行命令:ldconfig下面重点介绍下动态链接库管理命令ldconfig的用法:为了让动态链接库为系统所共享,还需运行动态链接库的管理命令--ldconfig.此执行程序存放在/sbin目录下 阅读全文
posted @ 2013-05-30 16:23 keethebest 阅读(1586) 评论(0) 推荐(0) 编辑
摘要: 下载并安装Memcache服务器端服务器端主要是安装memcache服务器端.下载:http://www.danga.com/memcached/dist/memcached-1.2.2.tar.gz另外,Memcache用到了libevent这个库用于Socket的处理,所以还需要安装libevent,libevent的最新版本是libevent-1.3。(如果你的系统已经安装了libevent,可以不用安装)官网:http://www.monkey.org/~provos/libevent/下载:http://www.monkey.org/~provos/libevent-1.3.tar. 阅读全文
posted @ 2013-05-30 16:22 keethebest 阅读(137) 评论(0) 推荐(0) 编辑