Hi,
I have a problem when I try to activate eAcelerator on my forum:
Quote:Fatal error: Call to undefined function eaccelerator_get() in /path/to_forum/root/inc/cachehandlers/eaccelerator.php on line 76
Any Idea?
Maybe it isn't enabled on your host...??
Do a phpinfo and see if you have eaccelerator there.
which config should be change in MyBB to use this eA?
Is this significantly improve the speed or load?
config.php has a spot for cache...you should see it with the available options.
EDIT: @Rafael: Does your PHP run as an Apache mod?
Is eAccelerator working with php-cgi or php-cli?
This is not yet supported and it won't be supported in the near future. However FastCGI is supported.
(2009-12-20, 01:13 AM)FBI Wrote: [ -> ]...significantly improve the speed or load?
I'll second that, does it (generally) significantly improve speed and lessen load?
EDIT:
"It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code
by 1-10 times."
http://eaccelerator.net/
Quote:e speed of your PHP code by 1-10 times
and What about RAMS needed by this eA to running? Any experience?
Add more RAM for MySQL Load vs Add more RAM for eAccelerator?
(2009-12-20, 02:12 AM)FBI Wrote: [ -> ]Quote:e speed of your PHP code by 1-10 times
and What about RAMS needed by this eA to running? Any experience?
Add more RAM for MySQL Load vs Add more RAM for eAccelerator?
I'll be interested in knowing the answer.
Might be a good question for Sitepoint or StackOverflow.
I'll post it one place if you cover the other.
Your choice first.... (if you're interested in trying)
that should be configureable, x-cache is set to 64MB by default, at least it was when I tried it. not sure if I should use them, there are lots of reports about php processes dying due to bugs in those accelerators
they disabled it
eAccelerator
eAccelerator support enabled
Version 0.9.5.3
Caching Enabled false
Optimizer Enabled false