dixie - installazione eaccelerator 0.9.5.3
Questo articolo dettaglia i passi fatti per installare in "dixie", il web server casalingo, l'acceleratore di pagine PGP eAccelerator v0.9.5.3.apt-get install php5-dev apt-get install make apt-get install wget cd /tmp/ wget http://bart.eaccelerator.net/source/0.9.5.3/eaccelerator-0.9.5.3.tar.bz2 tar xvjf eaccelerator-0.9.5.3.tar.bz2 cd eaccelerator-0.9.5.3 phpize ./configure --enable-eaccelerator=shared make make install
vi /etc/php5/apache2/php.ini
; eAccelerator configuration ; Note that eAccelerator may also be installed as a PHP extension or as a zend_extension ; If you are using a thread safe build of PHP you must use ; zend_extension_ts instead of zend_extension ;extension = "/usr/lib/php5/20060613+lfs/eaccelerator.so" zend_extension = "/usr/lib/php5/20060613+lfs/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" eaccelerator.allowed_admin_path = "/var/www/eaccelerator"
mkdir -p /var/cache/eaccelerator chmod 0777 /var/cache/eacceleratorSe si desidera abilitare la pagina di amministrazione, è necessario
mkdir /var/www/eaccelerator chown www-data:www-data /var/www/eaccelerator cp /tmp/eaccelerator-0.9.5.3/control.php /var/www/eaccelerator cp /var/www/images/index.html /var/www/eaccelerator...e ricordarsi di modificare id e password in control.php. Poi facciamo pulizia...
rm /tmp/eaccelerator-0.9.5.3.tar.bz2 rm -rf /tmp/eaccelerator-0.9.5.3 apt-get remove wget apt-get remove make apt-get remove php5-dev dpkg -P wget aptitude purge dpkg -P autconf dpkg -P binutils dpkg -P libgomp1 apt-get --purge remove apt-get clean