php加速之xcache
小编在上一篇lnmp的基础上又写了一篇php加速的博客欢迎大家阅读【实验原理】
XCache 是一个开源的 opcode 缓存器/优化器, 这意味着他能够提高您服务器上的 PHP 性能. 他通过把编译 PHP 后的数据缓冲到共享内存从而避免重复的编译过程, 能够直接使用缓冲区已编译的代码从而提高速度. 通常能够提高您的页面生成速率 2 到5 倍, 降低服务器负载
【实验环境】
xcache-2.0.1.tar.gz
【实验配置】
http://blog.运维网.com/attachment/201309/190337603.png
编辑一个测试网页
cd /usr/local/nginx/html
http://blog.运维网.com/attachment/201309/190339376.png
http://blog.运维网.com/attachment/201309/190339471.png
http://blog.运维网.com/attachment/201309/190339613.png
http://blog.运维网.com/attachment/201309/190456306.png
http://blog.运维网.com/attachment/201309/190456645.png
http://blog.运维网.com/attachment/201309/190456367.png
执行 make 和 make install
http://blog.运维网.com/attachment/201309/190456949.png
http://blog.运维网.com/attachment/201309/190510184.png
http://blog.运维网.com/attachment/201309/190511682.png
http://blog.运维网.com/attachment/201309/190511144.png
http://blog.运维网.com/attachment/201309/190512101.png
http://blog.运维网.com/attachment/201309/190529223.png
http://blog.运维网.com/attachment/201309/190529842.png
http://blog.运维网.com/attachment/201309/190529848.png
http://blog.运维网.com/attachment/201309/190529972.png
http://blog.运维网.com/attachment/201309/190545206.png
http://blog.运维网.com/attachment/201309/190545355.png
http://blog.运维网.com/attachment/201309/190545184.png
http://blog.运维网.com/attachment/201309/190546337.png
http://blog.运维网.com/attachment/201309/190600990.png
http://blog.运维网.com/attachment/201309/190600455.png
页:
[1]