2012年8月

XCache is a open-source opcode cacher, which means that it accelerates the performance of PHP on servers. It optimizes performance by removing the compilation time of PHP scripts by caching the compiled state of PHP scripts into the shm (RAM) and uses the compiled version straight from the RAM. This will increase the rate of page generation time by up to 5 times as it also optimizes many other aspects of php scripts and reduce server load.

Download xcahce:

cd /opt
wget tar -zxvf xcache-2.0.1.tar.gz
cd xcache-2.0.1

Use yum to install the PHP compile tools, if you can have installed before, skip this step

yum -y install php-devel yum install -y gcc make

- 阅读剩余部分 -