SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
Revision of eAccelerator from Mon, 12/21/2009 - 13:31
Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.
Installation
- Download the latest version:
cd /extra/src
wget http://bart.eaccelerator.net/source/0.9.5.3/eaccelerator-0.9.5.3.tar.bz2
tar jxf eaccelerator-0.9.5.3.tar.bz2
cd eaccelerator-0.9.5.3 - Prepare the source code for compiling as a PHP extension using
phpize
:, then configure and build it
phpize
./configure
make - Install it:
make install
cd /usr/local/lib/php/extensions
ln -s no-debug-non-zts-20060613/eaccelerator.so eaccelerator.so - Install it as a PHP extension in
/usr/local/lib/php.ini
:
extension="eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/var/cache/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"You will also likely have to change
extension_dir = "./"
in>/usr/local/lib/php.ini
to:extension_dir = "/usr/local/lib/php/extensions"
- Create the cache directory:
mkdir /var/cache/eaccelerator
chown nobody:nobody /var/cache/eaccelerator
chmod 0644 /var/cache/eaccelerator - Restart your web server:
svc -t /service/apache
- Verify that it works:
php -v
And look for code similar to:
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with eAccelerator v0.9.5-beta2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
- Log in to post comments