This is just a wild guess, but try to add all the directives from eaccelerator.ini to php.ini. First create a and check where it’s located.
For example, try this:
[eAccelerator]
extension="eaccelerator.so"
eaccelerator.shm_size="32"
eaccelerator.cache_dir="/tmp"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
Another thing you could do is set all the settings on run-time using ini_set(). I am not sure if that works though or how effective that is. 🙂 I am not familiar with eAccelerator to know for sure.