News:

Wondering if this will always be free?  See why free is better.

Main Menu

APC or eaccelerator?

Started by tsis_k, February 04, 2010, 10:31:59 AM

Previous topic - Next topic

tsis_k

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.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


tsis_k

How do I uninstall eaccelerator?


greyknight17

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.

Ensiferous

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.
My Latest Blog Post: Debugging Nginx Errors

chep

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

Oldiesmann

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.

chep

#7
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.

KensonPlays

Sorry for bumping this topic. Would APC work on GoDaddy?

Owner of Mesozoic Haven

青山 素子

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.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Advertisement: