摘要: memcached是国外社区网站LiveJournal团队开发,通过缓存数据库查询结果,减少数据库访问次数,从而提高动态web站点性能。官方站点 http://memcached.org/memcached运行流程图memcached特点•基于C/S架构,协议简单•基于libevent 的事件处理•自主内存存储处理存储方式为slab allocation Slab Allocation的原理—... 阅读全文
posted @ 2016-03-01 23:37 系统运维 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 一, memcache和memcached的区别与关系统php要想去访问memcached就得需要memcache扩展,这个道理和php连接mysql一样。 你不安装memcache扩展就没法识别memcache协议。php安装memcache扩展后,还需要安装memcached服务。 php相当于客户端,memcached相当于服务端 查看php安装的模块命令:/usr/local/php/bi... 阅读全文
posted @ 2016-03-01 17:07 系统运维 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 内容概要:一. php配置1. 配置disable_functiondisable_functions = eval,assert,popen,passthru,escapeshellarg,escapeshellcmd,passthru,exec,system,chroot,scandir,chgrp,chown,escapeshellcmd,escapeshellarg,shell_exec... 阅读全文
posted @ 2016-03-01 15:51 系统运维 阅读(194) 评论(0) 推荐(0) 编辑