Directadmin如何安装eAccelerator

发布时间:2026-02-04 09:10:48 浏览次数:0

首先安装一些基本的组件yum -y install autoconf automake去eAccelerator官方下载最新版的源码包:eaccelerator- 0.9.6.1.zip并解压http://bart.eaccelerator.net/source/0.9.6.1/eaccelerator-0.9.6.1.zipunzip eaccelerator-0.9.6.1.zipcd eaccelerator-0.9.6.1export PHP_PREFIX="/usr/local"$PHP_PREFIX/bin/phpize./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-configmakemake installmkdir /tmp/eacceleratorchmod 777 /tmp/eaccelerator然后编辑PHP.INI,并放置到Zend之前[eAccelerator]zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"eaccelerator.shm_size="16"eaccelerator.cache_dir="/tmp/eaccelerator"eaccelerator.enable="1"eaccelerator.optimizer="1"eaccelerator.check_mtime="1"eaccelerator.debug="0"eaccelerator.log_file = "/var/log/eaccelerator_log"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"重启apache服务即可在phpinfo()中看到service httpd restart
eadesktop怎么安装
需要做网站?需要网络推广?欢迎咨询客户经理 13272073477