Ticket #253 (closed defect: invalid)
can't use EAccelerator api
| Reported by: | rama | Owned by: | somebody |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | eAccelerator | Version: | |
| Keywords: | Cc: |
Description
test.php
<?php
$test ="dummy";
eaccelerator_put("test", $test);
?>
produce
Call to undefined function eaccelerator_put() in /home/rama/alaunt/ww1/html/ea_test.inc on line 2
trying to use the CP (eaccelerator.php) say that ea is not installed. ea is compiled from svn, and correctly installed (i suppose)
php -i (or phpinfo) show
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with eAccelerator v0.9.6-svn303-dev, Copyright (c) 2004-2007 eAccelerator, by
eAccelerator
And
eAccelerator support enabled Version 0.9.6-svn303-dev Caching Enabled true Optimizer Enabled true Memory Size 33,554,392 Bytes Memory Available 32,018,660 Bytes Memory Allocated 1,535,732 Bytes Cached Scripts 21 Removed Scripts 0 Cached Keys 0 eaccelerator.allowed_admin_path no value no value eaccelerator.cache_dir /tmp/eaccelerator /tmp/eaccelerator eaccelerator.check_mtime 1 1 eaccelerator.compress 0 0 eaccelerator.compress_level 9 9 eaccelerator.debug 0 0 eaccelerator.enable 1 1 eaccelerator.filter no value no value eaccelerator.log_file /dev/null /dev/null 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 0 0 eaccelerator.shm_ttl 300 300
My setup lighttpd 1.4.13-d4 (debian 4.0 stable version) PHP Version 5.2.2 eAccelerator v0.9.6-svn303-dev
Change History
comment:2 Changed 3 years ago by bart
- Status changed from new to closed
- Resolution set to invalid
Short: RTFM Long: compile the api functions: http://www.eaccelerator.net/wiki/CompileConfiguration#witheacceleratorsharedmemory
Note: See
TracTickets for help on using
tickets.