全部博文(315)
分类: 系统运维
2007-11-29 11:26:18
wget
tar jxf eaccelerator-0.9.5.2.tar.bz2
export PHP_PREFIX=/usr/local/php
/usr/local/php/bin/phpize
./configure --enable-eaccelerator=shared --with-php-config=/usr/local/php/bin/php-config
make && make install
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/
extension_dir = "/usr/local/php/lib"
extension="eaccelerator.so"
eaccelerator.shm_size="32" ;..eaccelerator......32MB
eaccelerator.cache_dir="/usr/local/php/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter="*.php"
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="3600"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.log_file = "/usr/local/apache2/logs/eaccelerator_log"
eaccelerator.allowed_admin_path = "/usr/local/apache2/htdocs/ea_admin"