wget -c https://github.com/downloads/libevent/libevent/libevent-2.0.20-stable.tar.gz
wget -c http://memcached.googlecode.com/files/memcached-1.4.15.tar.gz
yum -y install gcc make
tar -zvxf libevent-2.0.20-stable.tar.gz
cd libevent-2.0.20-stable
./configure
make
make install
cd ..
tar -zvxf memcached-1.4.15.tar.gz
cd memcached-1.4.15
./configure
make
make install
cp -R /usr/local/lib/libevent* /usr/lib64/
yum -y install php-devel
pecl install memcache
Build process completed successfully
Installing ‘/usr/local/lib/php/extensions/no-debug-non-zts-20060613/memcache.so’
install ok: channel://pecl.php.net/memcache-2.2.7
configuration option “php_ini” is not set to php.ini location
You should add “extension=memcache.so” to php.ini
/usr/local/bin/memcached -d -m 10 -u root -l 127.0.0.1 -p 11211 -c 256 -P /tmp/memcached.pid
centos 配置Memcache
admin 发布于 2013-10-15 16:51 评论:0 浏览:4199
1
顶一下
最新话题
- LINUX配置mariadb,mysql出现dpkg: error processing错误
106月前更新 - 使用nginx的geo模块对指定IP做URL重写
124月前更新 - MariaDB 忘记密码的解决办法
125月前更新 - Device eth0 does not seem to be present的解决
132月前更新 - sql2000企业版安装提示无法验证产品密钥
134月前更新 - 我最牛游戏中心插件
135月前更新 - KVM 下Centos 默认网络配置
135月前更新 - PDO MySQL安装
135月前更新 - centos 配置Memcache
135月前更新 - DirectAdmin配置Zend Opitimizer与eAccelerator0.9.6.1
135月前更新