I have compiled eaccelerator 0.9.5-rc1 on my Mac OS X machine with:
./configure --enable-eaccelerator=shared --with-php-config=/sw/bin/php-config --with-eaccelerator-userid=70 --no-create --no-recursion
I am using apache:
Server version: Apache/2.0.53
Server built: Jun 13 2005 18:37:12
With php 5.0.4
The compile and install goes fine. Here is my config:
[eaccelerator]
zend_extension=/sw/lib/php5/libexec/eaccelerator.so
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/Volumes/Scratchy/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="1"
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"
I have also tried as a regular extension.
However, using the cache crashes httpd on nearly every request:
[Tue Oct 03 15:39:36 2006] [notice] child pid 14222 exit signal Bus error (10)
[core file below]
I have also used previous versions successfully on this same setup: eaccelerator-0.9.4-rc1.
Please advise.
Here's a core file: