PHP require works only once after clearing APC Cache, then 500 error. Why? -


i've got apc issue. parent.php including file relative path. e.g.

require_once 'child.php';

if clear apc_cache, load parent.php, works. on subsequent load, fails. dying on require_once 'child.php'.

clearly relative path, when saved apc_cache, not being translated on next load...

apc.include_once_override turned off, isn't that.

what else be?

editing add error: php fatal error: require_once() [function.require]: failed opening required 'path/to/file.php'

if have apc.stat=0 in config, problem related bug: https://bugs.php.net/bug.php?id=61854

setting apc.stat=1 in php config fixed problem me.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -