Ticket #37 (closed defect: invalid)

Opened 4 years ago

Last modified 8 months ago

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:1 Changed 4 years ago by anonymous

  • Component changed from Control panel to eAccelerator

Sorry, Component field is eAccelerator

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.

comment:3 Changed 8 months ago by eliwap

OK... Its been disabled by default. So what can be used as a substitute?

Note: See TracTickets for help on using tickets.