OpCache with Symfony
问题 I know you can use with Symfony APC or XCache Class Loader. Unfortunately, in the shared server where I put my Symfony code, there is only OpCache with is activated. Can I use Symfony with OpCache ? If yes, how and what is the code to put in my app.php please ? If not, why please ? 回答1: You don't have to do anything in Symfony to enable opcache. You only need to make sure it's enabled in your PHP configuration ( opcache_enable option). Forget APC/XCache class loaders. APC/XCache class loaders