The_cobra666
Verified User
-bash-3.00# whereis autoconf
autoconf:
-bash-3.00#
autoconf:
-bash-3.00#
;zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so"
;eaccelerator.cache_dir="/tmp/eaccelerator"
cd /
mkdir Eaccelerator
cd Eaccelerator
wget [url]http://jaist.dl.sourceforge.net/sourceforge/eaccelerator/eaccelerator-0.9.4-rc1.tar.bz2[/url]
tar -xvjf eaccelerator-0.9.4-rc1.tar.bz2
cd eaccelerator-0.9.4-rc1
# Installation Steps
export PHP_PREFIX="/usr/local"
$PHP_PREFIX/bin/phpize
(Note that you need phpize, automake, autoconf and libtools installed)
work fine
./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config
make
make install
cd /tmp
mkdir eaccelerator
chmod 0777 eaccelerator
cp /usr/local/lib/php.ini /usr/local/lib/php.ini.backup
pico -w /usr/local/lib/php.ini
Search for
;Directory in which the loadable extensions (modules) reside.
extension_dir = "/usr/local/lib/php/extensions/eaccelerator/"
# and change the dir according to what you get after make install, or you can use locate eaccelerator.so to check the directory
Search for ;Windows Extensions, if you don't know how, press Ctrl+W and add...
zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so"
eaccelerator.shm_size="32"
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"
Save and Exit
service httpd restart