症状:

  • 某个开启了 eAccelerator 的站运行缓慢,查看 phpinfo 提示未开启.
  • 执行 php -v结果如下:
[eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.3.2-1ubuntu4.15. Rebuild it for your PHP version (5.3.2-1ubuntu4.17) or download precompiled binaries.
PHP 5.3.2-1ubuntu4.17 with Suhosin-Patch (cgi-fcgi) (built: Jun 19 2012 01:35:54)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

可以看到由于 eAccelerator 是为旧版编译的,所以重新编译即可解决.