PHP eAccelerator: shmmax error

1.4k Views Asked by At

I installed eAccelerator and if I uncomment extension="eaccelerator.so" in PHP and restart Apache if fails and in the error.log stands

eAccelerator: shmmax should be at least 2MB

If I set eaccelerator.shm_max="4M" it even don't work and if I set it so eaccelerator.shm_max="0" it also don't work. I get everytime the mentioned error. I'm using PHP 5.2.4 and (latest) eAccelerator 0.9.6.1. What's the problem?

1

There are 1 best solutions below

0
On

A : check available space at

/tmp/eaccelerator/

B: try increase shm_max @ php.ini

eaccelerator.shm_max="0"

from 0 to 2 or 4

C: try uninstall EAccelerator

/scripts/phpextensionmgr uninstall EAccelerator