Ticket #37 (closed defect: invalid)
eaccelerator_get() not found
| Reported by: | anonymous | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | eAccelerator | Version: | 0.9.5 |
| Keywords: | Cc: |
Description
I'm installing snapshot from 27.03.06 PHP 5.1.2, Apache 2.0.55 prefork ./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config make make install installation complete In phpinfo seeing eAccelerator information extension="eaccelerator.so" eaccelerator.shm_size="16" eaccelerator.cache_dir="/tmp/eaccelerator" 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" eaccelerator.keys="shm_only" eaccelerator.sessions="shm_only" eaccelerator.content="shm_only"
But, when i try in my apache-script call ea-operators like as eaccelerator_get, eaccelerator_put and etc i see follow message: [Fri Mar 31 10:26:27 2006] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Call to undefined function eaccelerator_put() in /data/server/htdocs/index.php on line 22 in cli mode - all ok Thank you
Change History
comment:2 Changed 4 years ago by bart
- Status changed from new to closed
- Version set to 0.9.5
- Resolution set to invalid
These functions have been disabled by default. You should enable them with the configure command. Look at configure --help for the right options. These functions have been disabled because when leaving them on without any precautions these functions can be used for a local DoS attack by keep putting data in shared memory.
Sorry, Component field is eAccelerator