摘要: ubuntu下安装php redissudo apt-get install redis-server测试redis是否安装成功:注意:要开启redisredis-cliset test helloOKget test"bar"下载phpredissudo wget http://open.imop.us/pr.tar.gztar zxvf pr.tar.gzcd phpredisphpize //这个phpize是安装php模块的如果没有phpize,则需要先安装php5-dev./configuremakemake install修改php.ini文件extension 阅读全文
posted @ 2012-04-05 14:35 skillCoding 阅读(5026) 评论(0) 推荐(0) 编辑
摘要: memcached 安装sudo apt-get install memcachedmemcached 参数说明memcached -d -m 50 -p 11211 -u root -m 指定使用多少兆的缓存空间;-p 指定要监听的端口; -u 指定以哪个用户来运行安装php-memcache模块sudo apt-get install php5-memcache编辑配置文件sudo vi /etc/php5/conf.d/memcache.ini;uncomment the next line to enable the moduleextension=memcache.so[memcac 阅读全文
posted @ 2012-04-05 14:30 skillCoding 阅读(6332) 评论(8) 推荐(0) 编辑