现在好多主机都支持eAccelerator加速,鉴别方法,phpinfo如图:
with eAccelerator v0.9.6, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
有这个就可以了
wordpress用户,可以开启wordpress自己的cache功能提高性能:
编辑wp-config.php,加上一句:
// Enable the WordPress Object Cache:
define(ENABLE_CACHE, true);
在wp-content目录下建立cache文件夹并赋予777权限
mkdir ./wp-content/cache
chmod 0777 ./wp-content/cache