eaccelerator
安装
/usr/ports/www/eaccelerator
make install clean
You have installed the eaccelerator package.
Edit /usr/local/etc/php.ini and add:
zend_extension="/usr/local/lib/php/20020429/eaccelerator.so"
Then create the cache directory:
mkdir /tmp/eaccelerator
chown www /tmp/eaccelerator
chmod 0700 /tmp/eaccelerator
我在Apahce启动的脚本加入
mkdir /tmp/eaccelerator
chown www /tmp/eaccelerator
chmod 0700 /tmp/eaccelerator
catch said,
一月 20, 2007 at 9:10 上午
效果挺不错的。之前加过,没有细心观察觉得没有用。把他删除了,昨晚心血来潮重新装回来再慢慢观察一下。发现服务器的性能真的提高了很多。