logo       

missing eaccelerator_get() among others: msg#00008

php.eaccelerator.user

Subject: missing eaccelerator_get() among others

I'm using eAccelerator 0.9.5 w/ PHP 5.1.6 and Apache 2.2.3 w/ the CVS
versions of a number of Horde applications (Horde, IMP, Ingo, Turba).
The CVS version of Horde includes the ability to access the
eAccelerator cache directly, but when I configure Horde to do that, my
error log reports that eaccelerator_get() is missing.

If I do a get_extension_funcs( 'eaccelerator' ), I see...

Array
(
[0] => eaccelerator_caching
[1] => eaccelerator_optimizer
[2] => eaccelerator_clear
[3] => eaccelerator_clean
[4] => eaccelerator_info
[5] => eaccelerator_purge
[6] => eaccelerator_cached_scripts
[7] => eaccelerator_removed_scripts
[8] => eaccelerator_list_keys
[9] => eaccelerator_encode
[10] => eaccelerator_load
[11] => _eaccelerator_loader_file
[12] => _eaccelerator_loader_line
)

I see a definition for eaccelerator_get in eaccelerator.c, in a "#ifdef
WITH_EACCELERATOR_SHM" block. phpinfo() suggests that my eaccelerator
build supports SHM. I even rebuilt it using..

./configure \
--with-eaccelerator-shared-memory \
--with-eaccelerator-sessions \
--with-eaccelerator-content-caching

and I'm still not seeing eaccelerator_get(). here's my config block
from php.ini:

; eAccelerator - http://eaccelerator.sourceforge.net/ (fork of Turck MMCache)
extension="eaccelerator.so"
eaccelerator.allowed_admin_path="/usr/local/projects/webmail/html-ssl/cache"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/var/tmp/phpa"
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"

What am I doing wrong?

Liam

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise