Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
eaccelerator [Le 30/07/2009, 19:17] 213.95.41.13 créée |
— (Version actuelle) | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== eAccelerator ====== | ||
- | |||
- | |||
- | eAccelerator est le meilleur accélérateur de scripts php, selon un nombre important de benchmark (( | ||
- | * http://2bits.com/articles/benchmarking-drupal-with-php-op-code-caches-apc-eaccelerator-and-xcache-compared.html | ||
- | * http://2bits.com/articles/benchmarking-apc-vs-eaccelerator-using-drupal.html | ||
- | * http://itst.net/654-php-on-fire-three-opcode-caches-compared | ||
- | )). | ||
- | |||
- | Vraiment indispensable si on veut jouer dans la cour des grands. | ||
- | |||
- | ===== Installation ===== | ||
- | |||
- | |||
- | le paquet .deb pour edgy: | ||
- | http://linuxjedi.co.uk/downloads/php5-eaccelerator_0.9.5_i386.deb | ||
- | |||
- | Le paquet .deb pour ubuntu 8.10 intrepid : | ||
- | * [[http://www.gazup.com/EOLOY-php5-eaccelerator_0.9.5.2-0intrepid_i386.deb-download-mirrors|php5-eaccelerator_0.9.5.2-0intrepid_i386.deb]] | ||
- | |||
- | ensuite, faire : | ||
- | <code>gksudo gedit /etc/php5/apache2/php.ini</code> | ||
- | |||
- | et mettre à la fin: | ||
- | |||
- | <code>zend_extension="/usr/lib/php5/20051025/eaccelerator.so" | ||
- | eaccelerator.shm_size="0" | ||
- | eaccelerator.cache_dir="/var/local/eaccelerator" | ||
- | eaccelerator.enable="1" | ||
- | eaccelerator.optimizer="1" | ||
- | eaccelerator.check_mtime="1" | ||
- | eaccelerator.debug="0" | ||
- | eaccelerator.shm_only="0" | ||
- | eaccelerator.compress="1" | ||
- | eaccelerator.compress_level="9" | ||
- | eaccelerator.allowed_admin_path="/var/www/apache2-default/control.php"</code> | ||
- | |||
- | |||
- | |||
- | et faire ensuite: | ||
- | |||
- | <code>mkdir /var/local/eaccelerator | ||
- | chown root:www-data /var/local/eaccelerator | ||
- | chmod u=rwx,g=rwx,o= /var/local/eaccelerator | ||
- | apache2ctl configtest | ||
- | /etc/init.d/apache2 restart</code> | ||
- | ===== Liens externes : ===== | ||
- | |||
- | * Site officiel : http://www.eaccelerator.net/ | ||