我在 Windows XP 上运行 Symfony (1.2.9) 和 PHP 版本 5.2.11。
我安装了 APC(版本 3.0.19)
我可以运行 PHP 脚本来证明 apc 工作正常(有效)。但是,当我尝试在 symfony 操作中使用 APC 调用时,我收到此错误(在 apache error.log 文件中):
[apc-error] 无法重新声明类 sfconfig
这很快就会导致 Apache 崩溃。
我尝试使用 Symfony sfAPCCache 包装器,然后直接调用 apc_* 函数 - 结果是相同的。有谁知道为什么会发生这种情况?
查看这些线程:
http://pecl.php.net/bugs/bug.php?id=16860 http://pecl.php.net/bugs/bug.php?id=16860
http://old.nabble.com/APC-under-WinXP-crashes-td25872662.html http://old.nabble.com/APC-under-WinXP-crashes-td25872662.html
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)