memcache安装
2015-10-16 17:06
489 查看
memcache安装:
wget http://www.monkey.org/~provos/libevent-1.2.tar.gz tar zxvf libevent-1.2.tar.gz
cd libevent-1.2
./configure --prefix=/usrmakemake install
wget http://www.danga.com/memcached/dist/memcached-1.2.0.tar.gz tar zxvf memcached-1.2.0.tar.gz
cd memcached-1.2.0
./configure --with-libevent=/usrmakemake install
安装Memcache的PHP扩展pecl install memcache
Build process completed successfullyInstalling '/usr/lib64/php/modules/memcache.so'install ok: channel://pecl.php.net/memcache-2.2.7configuration option "php_ini" is not set to php.ini locationYou should add "extension=memcache.so" to php.ini
编辑php配置文件vi /etc/php.iniextension_dir = "/usr/lib64/php/modules/"extension=memcache.so
ln -s /usr/lib/libevent-1.2.so.1 /usr/lib64/libevent-1.2.so.1
启动memcached/usr/local/bin/memcached -d -m 10 -u root -l 192.168.10.109 -p 12000 -c 256 -P /tmp/memcached.pid
wget http://www.monkey.org/~provos/libevent-1.2.tar.gz tar zxvf libevent-1.2.tar.gz
cd libevent-1.2
./configure --prefix=/usrmakemake install
wget http://www.danga.com/memcached/dist/memcached-1.2.0.tar.gz tar zxvf memcached-1.2.0.tar.gz
cd memcached-1.2.0
./configure --with-libevent=/usrmakemake install
安装Memcache的PHP扩展pecl install memcache
Build process completed successfullyInstalling '/usr/lib64/php/modules/memcache.so'install ok: channel://pecl.php.net/memcache-2.2.7configuration option "php_ini" is not set to php.ini locationYou should add "extension=memcache.so" to php.ini
编辑php配置文件vi /etc/php.iniextension_dir = "/usr/lib64/php/modules/"extension=memcache.so
ln -s /usr/lib/libevent-1.2.so.1 /usr/lib64/libevent-1.2.so.1
启动memcached/usr/local/bin/memcached -d -m 10 -u root -l 192.168.10.109 -p 12000 -c 256 -P /tmp/memcached.pid
相关文章推荐
- Oracle中的Connect/session和process的区别及关系介绍
- C# IDE VS2005中的Hosting Process (vshost.exe)作用介绍
- JS option location 页面跳转实现代码
- IE中鼠标经过option触发mouseout的解决方法
- JavaScript Select和Option列表元素上下左右移动
- 用jQuery解决IE不支持的option disable属性
- firefox下获取下列框选中option的text的代码
- javascript option onclick事件ie解决方案 兼容ie,firefox
- IE不支持option的display样式,只能使用remove和add
- javascript 动态创建 Option选项
- JS动态添加与删除select中的Option对象(示例代码)
- js获取select选中的option的text示例代码
- JS动态添加与删除select中的Option对象(示例代码)
- js添加select下默认的option的value和text的方法
- C#使用Process类调用外部程序分解
- javascript各浏览器中option元素的表现差异
- JS更改select内option属性的方法
- js select option对象小结
- js 操作select与option(示例讲解)
- Python subprocess模块学习总结