PDA

View Full Version : problem whene i install xCache.


Almotmaiz.Net
05-20-2009, 08:08 AM
hello every body.

i tried install xCache on my server ..every thing looks working fine but whene this xcache load .. i can open my sites on server. but this shown to me download page. ex. im log to ex.com --> download index.php

i hv installed use this .

cd /home
wget http://xcache.lighttpd.net/pub/Releases/1.2.2/xcache-1.2.2.tar.gz
gunzip -c xcache-1.2.2.tar.gz | tar xf -
cd xcache-1.2.2
/usr/bin/phpize
./configure --enable-xcache
make
make installand hv add on php.ini

extension = "xcache.so"
[xcache.admin]
xcache.admin.user = "NLP"
xcache.admin.pass = "61310cbe71074267b7b91178279cccd3"

[xcache]
xcache.shm_scheme = "mmap"
xcache.size = 128M
xcache.count = 4
xcache.slots = 8K
xcache.ttl = 7200
xcache.gc_interval = 300

xcache.var_size = 128M
xcache.var_count = 4
xcache.var_slots = 8K
xcache.var_ttl = 7200
xcache.var_maxttl = 14400
xcache.var_gc_interval = 300

xcache.test = Off
xcache.readonly_protection = Off
xcache.mmap_path = "/dev/zero"
xcache.coredump_directory = "/tmp"

xcache.cacher = On
xcache.stat = On
xcache.optimizer = On

[xcache.coverager]
xcache.coverager = Off
xcache.coveragedump_directory = ""any help ? and thanks in advance.

UKBusinessLive
05-26-2009, 05:19 AM
Hi,

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.

Have a quick look here http://www.cyberciti.biz/faq/howto-rhel-install-xcahce-php-opcode-cacher/


this explains in basic terms the installation of xcache, and you'll be able to test it afterwards, Let me know if you managed to get it working ;)

Good luck ;)