MyBB Community Forums

Full Version: How to use MyBB's eaccelerator option w/ php 5.3?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
PHP Fatal error: Call to undefined function eaccelerator_get()...

In an old thread (here from 2010) the user is told "your eaccelerator must not be installed properly."
^^^
Unless I'm mistaken, then that advice is now obsolete, and so is MyBB's eaccelerator option (for the datacache)

#
The eaccelerator user cache functions were removed when they uprgraded from 0.9.5.x to 0.9.6
Source https://eaccelerator.net/wiki/Release-0.9.6
so,
  • When MyBB calls eaccelerator_get() it cannot possibly work.

##
Here is a related thread which claims "Older versions won't compile with PHP 5.3"
http://stackoverflow.com/questions/76671...oesnt-work


This is a 'standard' feature:
  • How to use MyBB's eaccelerator option w/ php 5.3?


ps. I spent too much time on this, could someone "with access", please consider opening a bug report, ticket, whatever....
Thanks
eAccelerator has dropped the user cache, you need to find an alternative (e.g. xCache oder Memcache).
Thanks for the fast answer Stefan.
Are you sure APC is an option?

config.php says 'xcache':

* If you wish to use the file system (cache/ directory), MemCache, xcache, or eAccelerator
* you can change the value below to 'files', 'memcache', 'xcache' or 'eaccelerator' from 'db'.

How to use MyBB's APC option? Toungue


(2012-02-11, 01:58 PM)seeker Wrote: [ -> ]How to use MyBB's APC option? Toungue
Sorry, but I am sure it is already planned.
OK great.
I have memcache set up, but on a test site (with a pretty large datacache) it didn't load any faster. I'm sure that would be different w/ traffic.

Do you happen to know how long data stays in (MyBB's) memcache before getting refreshed?
I'll try to find the answer....

Edit:
I don't see it in inc/cachehandlers/memcache.php is it set somewhere else?