caching - PHP + APC + Zend: Classes cannot be found -
I can not get the APC to work properly with my Zend + Doctrine application when I turn on apc I error Receives:
Fatal error: Access to unclaimed fixed assets: Example in Zend_Loader_Autoloader :: $ _ /var/www/libs/Zend/Loader/Autoloader.php
APC From 3.1.3 to 3.1.9 It was not working for me I tried to enable nclude_once_override:
apc.include_once_override = 1
Either did not work < / P>
I also tried to get the APC. Do not apc.ini to cache the following line by Zend_Loader_Autoloader addint:
apc.filters = Autoloader.php
This primary problem is solved, but Because another one:
WARNING: call_user_func () Expected parameter 1 to be a valid callback, to be the square / var / www / libs / Zend / Loader / Autoloader on the 'Zend_Loader' line. Not found in php 472 Warning: call_user_func () parameter 1 did not get a valid callback, on the line '/' Zar_Loader '' in /var/www/libs/Zend/Loader/Autoloader.php 472 expected to be a serious error: Class' Doctri Ne_Event 'did not find in / var / www / libs on line / theory / Record.php 801
Next I thought APC did not get to Zend_Loader to cache
apc.filters = Autoloader.php, Loader.php
fixes the above problem, but other classes can not be found:
Fatal error: Class found in the 'Zend_Exception' row at /var/www/libs/Zend/Loader.php 99
I did not have to cache APC Zend_Exception, But other classes will not get.
Note that errors are only received by page loading only 2 times, after clearing the cache. The first page load works like a charm.
Did anyone face a similar problem and was able to solve it?
Thank you very much.
you
session_write_close () :
\ Zend_Session :: setSaveHandler ($ foo) is required; Register_shutdown_function ('session_write_close');
Comments
Post a Comment