Archive for the ‘eaccelerator’ Category

Fatal error: Unknown function: eaccelerator_get() in somefile

January 15, 2008

eAccelerator_get and eAccelerator_put functions are now disabled by default. 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.

Please refer: http://eaccelerator.net/ticket/37

You can, if you iesh to, enable it is configure with the following attribute

--with-eaccelerator-shared-memory

Installation.
————


export PHP_PREFIX="/usr"

$PHP_PREFIX/bin/phpize

./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config --with-eaccelerator-shared-memory

make

make install

Advertisements