Symfony2 Slow Initialization Time
I had 5-30 sec responses from Symfony2 by default. Now it’s ~500ms in dev environment. Then I modified the following things in php.ini: set realpath_cache_size = 4M (or more) disabled XDebug completely (test with phpinfo) realpath_cache_ttl=7200 enabled and set OPcache (or APC) correctly restarted Apache in order to have php.ini reloaded And voilá, responses went … Read more