I have set up Symfony but every page load requires 40 seconds.
If I have an empty controller it takes 8 seconds to load. If I start to make some complex queries on the
A few quick suggestions:
mod_fcgid
instead of mod_php
with Apacherealpath_cache_size
and realpath_cache_ttl
in your php.iniSee this question, this question and this question.
Something is not right on your system. 40 seconds is way too long. Even in dev mode, your pages should be showing within a second or two.
Someone else has had similar problems here: Windows 7 php + Symfony2 terribly slow