由於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