XCache можно скачать перейдя по ссылке http://xcache.lighttpd.net/pub/Releases/
И так, качаем архив и приступаем к установке
wget http://xcache.lighttpd.net/pub/Releases/1.3.2/xcache-1.3.2.tar.gz tar -xvf xcache-1.3.2.tar.gz cd xcache-1.3.2/ phpize ./configure --enable-xcache make make install |
Добавляем экстэншин в файл php.ini
echo 'extension="xcache.so"' >> /usr/local/lib/php.ini |
перезапускаем Apache
/etc/init.d/httpd restart |
Проверяем
php -m |grep -i xcache |
забыл указать, а зачем оно надо?
Let me explain it in a few words:
===========================================================================
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 serverload.
===========================================================================
Got a question? Well, Google is your best friend 😉