由于APC中存在一个Bug,我不得不使用另一个Cache-Drive。我删除了APC并安装了xcache。 config.php说你的配置看起来不错,可以运行Symfony。Symfony2:将APC更改为xcache
我上要求以下错误:
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Unable to use ApcClassLoader as APC is not enabled.' in /var/.../app/bootstrap.php.cache:1039
Stack trace:
#0 /var/.../web/app.php(11): Symfony\\Component\\ClassLoader\\ApcClassLoader->__construct('sf2', Object(Composer\\Autoload\\ClassLoader))
#1 {main}
thrown in /var/...app/bootstrap.php.cache on line 1039
我如何告诉Symfony的,而不是使用APC了XCache?
问题修正:改变网页/ app.php使用在APC XCache将 – icksde
什么错误? – ChocoDeveloper
安装APC时,其他PHP项目会引发分段错误 – icksde