asishlla
Verified User
- Joined
- Jul 24, 2009
- Messages
- 235
Hello,
I used this code to Installing Eaccelerator:
How can i Check that it works?
I used this code to Installing Eaccelerator:
Code:
# # MediaLayer eAccelerator Installation
# # noc at medialayer dot com
# #
cd ~
wget http://easynews.dl.sourceforge.net/sourceforge/eaccelerator/eaccelerator-0.9.4.tar.bz2
tar jvfx eaccelerator-0.9.4.tar.bz2
cd eaccelerator-0.9.4
/usr/local/bin/phpize
./configure --enable-eaccelerator=shared --with-php-config=/usr/local/bin/php-config
make
make install
mv /usr/local/lib/php/extensions/no-debug-non-zts-*/eaccelerator.so /usr/local/lib/php
cat <<EOT >> /usr/local/lib/php.ini
;;eAccelerator
extension="/usr/local/lib/php/eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/php-cache"
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"
EOT
mkdir /php-cache
chmod 0777 /php-cache
/scripts/restartsrv_httpd
echo 'should be all done :D'
How can i Check that it works?