给CENTOS6.X(32bit)下的WDCP装eaccelerator

结合网上的教程大概就是这么装了。

wget -c http://dl.wdlinux.cn:5180/soft/eaccelerator-0.9.5.3.tar.bz2
tar jxvf eaccelerator-0.9.5.3.tar.bz2
cd eaccelerator-0.9.5.3
./configure --enable-eaccelerator=shared --with-eaccelerator-shared-memory --with-php-config=/www/wdlinux/php/bin/php-config
make
make install

 

找到PHP.ini,默认在/www/wdlinux/apache_php-5.2.17/etc目录

在[Zend]上面添加下面的内容:

[eaccelerator]
zend_extension="/www/wdlinux/apache_php-5.2.17/lib/php/extensions/no-debug-zts-20060613/eaccelerator.so"
eaccelerator.shm_size="32"
eaccelerator.cache_dir="/tmp/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"

 

保存重启即可。

给CENTOS6.X(32bit)下的WDCP装eaccelerator:等您坐沙发呢!

发表评论

表情
还能输入210个字