Hello I have a problem as i was try to use xache on my invision forum. I was install it on a cpanel server with only one account inside bt is caching only 100 out of 10.000 hits I am not using suexec on fast cgi handler that i use. (also i was add the xcache line on invision config) Any ideas why it is not working? Now i am thinking that maybe the problem is something related to php security that i do not know or maybe that i was upload the files on the server as root and not with the username of the account and the permissions are not correct.... or not? Thank you
I'll try to help out, if only you could post your xchache settings. There's not enough information in your post.
[xcache-common] zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20090626/xcache.so [xcache.admin] xcache.admin.enable_auth = Off xcache.admin.user = "" xcache.admin.pass = "" [xcache] xcache.shm_scheme = "mmap" xcache.size = 512M xcache.count = 4 xcache.slots = 32K xcache.ttl = 0 xcache.gc_interval = 0 xcache.var_size = 512M xcache.var_count = 4 xcache.var_slots = 32K ; default ttl xcache.var_ttl = 0 xcache.var_maxttl = 0 xcache.var_gc_interval = 0 xcache.test = Off xcache.readonly_protection = Off xcache.mmap_path = "/dev/zero" ; leave it blank(disabled) or "/tmp/phpcore/" ; make sure it's writable by php (without checking open_basedir) xcache.coredump_directory = "" xcache.cacher = On xcache.stat = On xcache.optimizer = On [xcache.coverager] xcache.coverager = Off xcache.coveragedump_directory = ""
Hi, Can u please help me with some examples how to write the actual script in PHP using XCache. Thanks.. Shraddha.