September 9, 2015 in Technical Problems
Just switched to a new webserver on a new host and I'm trying to enable caching. I originally started out with XCache since it was compatible with the most versions of PHP, but found reports saying that it doesn't install correctly through easyapache on cPanel. So I removed it an enabled eAccelerator, everything compiled fine and ran without any errors. When I login the admin cp, and goto the data storage, all the caching options are disabled as if they're not installed. I even tried restarted the apache service, and no change.
Anyone have any ideas as to why all of my caching options are disabled, or what I can do to enable at least one of them? Not really picky on which one.
Don't know why options are disabled, had same issue. Below is what I did to get XCache up and running on my server:
XCache Install with WHM for Forum
If you are using WHM to install XCache, there is an additional step some may need to make to get it running successfully. Here is what happened and the steps I took.
(Inside PHP.ini); zend_extension = /opt/local/lib/php/extensions/no-debug-non-zts-20090626/xcache.so extension = xcache.so[xcache]xcache.shm_scheme = "mmap"xcache.size = 64Mxcache.count = 1xcache.slots = 8Kxcache.ttl = 0xcache.gc_interval = 0xcache.var_size = 32Mxcache.var_count = 1xcache.var_slots = 8Kxcache.var_ttl = 0xcache.var_maxttl = 0xcache.var_gc_interval = 300
Note: Was getting "Excessive resource usage" warning. Brought xcache.size to 32M and xcache.var.size to 16M and message has disappeared. Your machine may vary.
This topic is now archived and is closed to further replies.
Started 22 hours ago
Started November 19, 2020
Started 28 minutes ago