xcache-2.0.0-rc1]# /usr/local/bin/phpize
./configure --with-php-config=/usr/local/bin/php-config --enable-xcache-optimizer --enable-xcache --enable-xcache-encoder --enable-xcache-decoder
xcache-2.0.0-rc1]# make install
Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20090626/
vi php.ini
extension="xcache.so"
[xcache]
xcache.shm_scheme = "mmap"
xcache.size = 16M
xcache.count = 1
xcache.slots = 8K
xcache.ttl = 0
xcache.gc_interval = 0
xcache.var_size = 4M
xcache.var_count = 1
xcache.var_slots = 8K
xcache.var_ttl = 0
xcache.var_maxttl = 0
xcache.var_gc_interval = 300
xcache.readonly_protection = Off
xcache.mmap_path = "/dev/zero"
xcache.coredump_directory = "/tmp/phpcore/"
xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off
xcache.test = Off
xcache.experimental = Off
[xcache.coverager]
xcache.coverager = Off
xcache.coveragedump_directory = ""
mkdir /tmp/phpcore/
chmod 0777 /tmp/phpcore/
service apache restar