Which would you recommend? Advantages? Disadvantages?
I've asked my host to install eaccelerator but it's not showing (SMF doesn't detect).
eAccelerator needs to be configured to support shared memory storage and manipulation, it's not default anymore.
I'd recommend APC. It's undergoing quick development and many of the PHP developers contribute to development of it.
How do I uninstall eaccelerator?
Your host will probably need to do this for you or you can just disable caching if none are supported by going to your Admin panel's server settings and set it to no caching.
Quote from: Motoko-chan on February 04, 2010, 11:31:30 PM
I'd recommend APC. It's undergoing quick development and many of the PHP developers contribute to development of it.
How exactly is it undergoing quick development? Last stable release was back in 2008 on: 2008-05-15, latest beta release was 2009-08-14. There haven't been releases for half a year by now and the PHP 5.3 branch is not considered stable.
If your hosting company will not disable or uninstall eaccelerator you should be able to put the following in .htaccess
php_flag eaccelerator.enable 0
php_flag eaccelerator.optimizer 0
Quote from: chep on March 06, 2010, 01:59:35 AM
If your hosting company will not disable or uninstall eaccelerator you should be able to put the following in .htaccess
php_flag eaccelerator.enable 0
php_flag eaccelerator.optimizer 0
I don't recommend that - any accelerator is better than none at all.
I would certainly recommend it if eaccelerator is a problem. It certainly can be the culprit of making your forum go offline.
It was a fast way for me to restore my forum into a working position when eaccelerator caused my forum to die. It usually ran fine for about 10 hours or so and then would go belly up. Meanwhile I used those lines and went and uninstalled it. If there isn't a problem with eacccelerator then I would agree with your statement that most any functional accelerator is better than none. He did ask how to uninstall it. Which can be done a variety of ways I am sure. On centos I think I used "yum remove php-eaccelerator"... Or something like that.
In addition. If someone accidentally installed xcache and eaccelerator there could be problems to deal with too.
Sorry for bumping this topic. Would APC work on GoDaddy?
If they have it installed and PHP is installed as a module or via FastCGI.
Most of the time, you won't be able to use an accelerator on shared hosting due to various factors.