Quote:
Originally Posted by wolfstream
The recommended values for eaccelerator configuration (which, btw has worked for years without fail):
Code:
./configure \
--enable-eaccelerator=shared \
--with-php-config=$PHP_PREFIX/bin/php-config
Changes insisted by your code (and ONLY your code, btw):
Code:
./configure \
--enable-eaccelerator=shared \
--with-eaccelerator-shared-memory \
--with-php-config=$PHP_PREFIX/bin/php-config
Again, this should be done properly, so that individuals DON'T have to recompile and reconfigure eacc, especially when they can't.
|
Where exactly are these configuration options set or changed?
I'm having the same issue: eAccelerator is installed and working (as far as I know). phpinfo shows:
Code:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.1.33, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
Code:
eAccelerator support enabled
Version 0.9.5.3
Caching Enabled true
Optimizer Enabled true
Memory Size 16,777,152 Bytes
Memory Available 936 Bytes
Memory Allocated 16,776,216 Bytes
Cached Scripts 110
Removed Scripts 0
Cached Keys 0
Code:
Directive Local Value Master Value
eaccelerator.allowed_admin_path no value no value
eaccelerator.cache_dir /tmp/eaccelerator /tmp/eaccelerator
eaccelerator.check_mtime 1 1
eaccelerator.compress 1 1
eaccelerator.compress_level 9 9
eaccelerator.debug 0 0
eaccelerator.enable 1 1
eaccelerator.filter no value no value
eaccelerator.log_file no value no value
eaccelerator.name_space no value no value
eaccelerator.optimizer 1 1
eaccelerator.shm_max 0 0
eaccelerator.shm_only 0 0
eaccelerator.shm_prune_period 0 0
eaccelerator.shm_size 16 16
eaccelerator.shm_ttl 0 0