I’ve upgraded my Ubuntu that comes with PHP 5.3.2 instead of PHP 5.2.x, and since the upgrade if I turn APC extension on my Yii based (with some extensions) site wouldn’t work. Web3CMS, Yii Blog apps work fine with APC. I restarted Apache in order to clean APC cache, but the problem still exists.
Here’s the log snippet:
[Fri Jun 25 09:15:22 2010] [notice] caught SIGTERM, shutting down
[Fri Jun 25 09:15:23 2010] [notice] Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.2 with Suhosin-Patch configured – resuming normal operations
[Fri Jun 25 09:15:25 2010] [error] [client 127.0.0.1] PHP Fatal error: Class ‘Yii’ not found in /mnt/linmedia/www/test/indexy.php on line 14, referer: http://test/indexy.php