HomePage » WebServer » PHP » PHPXcache


Xcache

Installation
wget http://xcache.lighttpd.net/pub/Releases/1.2.2/xcache-1.2.2.tar.gz
tar xvf xcache-1.3.0.tar.gz
cd xcache-1.3.0
phpize
./configure --enable-xcache --enable-xcache-optimizer
make -j2 make install


php.ini - make sure the extension is loaded before all others
zend_extension=/usr/lib64/20060613/xcache.so
[XCache]
xcache.optimizer = On
xcache.size = 16M
xcache.ttl = 3600
xcache.admin.user = "admin"
xcache.admin.pass = "some_md5_sum"
xcache.count = 2


the md5 password can be generated by a php file
<?php
echo md5("phpsucks");
?>


Then copy the admin dir in the source directory to some path, create an alias on your web server. Then log in to view xcache stat using the login and pwd configured in php.ini.

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki