Hello, i've switched back to a nice CPanel server for production. Got a bit sick of lighhtpd, anyway, I can't get eAcclerator working properly. It loads the module but won't start, check my php.info http://xopen.tv/php.php Any tips an getting it working would be welcome.
Its because you haven't enabled the caching, i can see caching is false in your eaccelerator value of phpinfo. Edit your php.ini file with eaccelerator.enable = 1 and optimizer = 1
Then you are running PHP on CGI. Eaccelerator wont run on some system carrying mode, change the mode to dso, i believe that should fix your problem Just Saw this: So, nothing more can say Change this to DSO or SUPHP.
suPHP is just a wrapper PHP still runs as a CGI and from what I've read eaccelerator does not work well if at all with suPHP. ... If you want serious performance I'd look at doing fastCGI and optimizing it (assuming it's only your site). You could go DSO with PHP then run eaccelerator but their are disadvantages to this as well. The big one is the ram usage with PHP as a DSO is way up compared to PHP as a CGI. However when PHP is a cgi CPU usage is up due to the PHP interpreter being killed constantly.
Well, just compile the module and add the settings in php.ini Oh, plain vanilla php as CGI isn't supported by any opcode caching system. Better build php as FCGI or apache module etc. http://xcache.lighttpd.net/
Cheers. I'm not sure how to do that so it will work with CPanel though, know it can be very funny. Although CPanel makes a lot of basic stuff easy, it makes a lot of stuff a lot more tricky.
You can change your CGI mode from your WHM WHM >> Configure PHP and Suexec >> Select the Handler dso and save That should let your eaccelerator work fine Have a nice time
Thanks for your help everone, I've added rep to everyone now as you've put up with my inane questions. I also found this for people wanting to install Xcache in a CPanel enviroment. http://www.eth0.us/xcache