DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Installing Eaccelerator Via Source
If you cannot install via RPMs (recommended), use this
wget http://kent.dl.sourceforge.net/sourceforge/eaccelerator/eaccelerator-0.9.3.tar.gz tar -zxf eaccelerator-0.9.3.tar.gz export PHP_PREFIX="/usr" $PHP_PREFIX/bin/phpize ./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config make make install [] vi /usr/local/lib/php.ini zend_extension="/usr/lib/php/extensions/no-debug-non-zts-20041030/eaccelerator.so" eaccelerator.shm_size="16" eaccelerator.cache_dir="/tmp/ea" 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.admin.name="adminea093" eaccelerator.admin.password="***" Create /tmp/ea (chmod 0777) Restart httpd





