title: Slow execution of Symfony project locally
body: <p>I have this problem for quite a long time but it is getting slower and slower to display a simple page of my Symfony 2 project.</p>
  
  <p>This is my development environment:</p>
  
  <ul>
  <li>Wampserver 2.2 with PHP 5.3.13, MySQL 5.5.24 and Apache 2.2.22</li>
  <li>Symfony 2.7</li>
  <li>Netbeans 8.1</li>
  </ul>
  
  <p>I am really not sure it comes from Symfony though it is more obvious with a symfony project (4-5 minutes to display a page).</p>
  
  <p>Even calling phpmyadmin from the wampserver is long.</p>
  
  <p>No problem with the memory, the CPU or the disk. Using the resources manager to check, everything seems to be fine.</p>
  
  <p>Those are Apache logs. I have kilometers of :</p>
  
  <blockquote>
    <p>PHP Fatal error:  Maximum execution time of 90 seconds exceeded in  C:\wamp\www\MyProject\app\cache\dev\classes.php on line 5270, referer:  <a href="http://localhost/MyProject/web/app_dev.php/myURL?init" rel="nofollow noreferrer">http://localhost/MyProject/web/app_dev.php/myURL?init</a><br>
    [Thu May 12 14:11:28 2016] [error] [client 127.0.0.1] PHP Stack trace:,  referer: <a href="http://localhost/MyProject/web/app_dev.php/myURL?init" rel="nofollow noreferrer">http://localhost/MyProject/web/app_dev.php/myURL?init</a><br>
    [Thu May 12 14:11:28 2016] [error] [client 127.0.0.1] PHP   1. Monolog\Handler\AbstractHandler->__destruct()  C:\wamp\www\MyProject\app\cache\dev\classes.php:0, referer:   <a href="http://localhost/MyProject/web/app_dev.php/myURL?init" rel="nofollow noreferrer">http://localhost/MyProject/web/app_dev.php/myURL?init</a><br>
    [Thu May 12 14:11:30 2016] [error] [client 127.0.0.1] PHP Fatal error:  Maximum execution time of 90 seconds exceeded in C:\wamp\www\MyProject\app\cache\dev\classes.php on line 5270, referer: <a href="http://localhost/MyProject/web/app_dev.php/myURL?init" rel="nofollow noreferrer">http://localhost/MyProject/web/app_dev.php/myURL?init</a>
        [Thu May 12 14:11:30 2016] [error] [client 127.0.0.1] PHP Stack trace:, referer: <a href="http://localhost/MyProject/web/app_dev.php/myURL?init" rel="nofollow noreferrer">http://localhost/MyProject/web/app_dev.php/myURL?init</a>
        [Thu May 12 14:11:30 2016] [error] [client 127.0.0.1] PHP   1. Monolog\Handler\AbstractHandler->__destruct() C:\wamp\www\MyProject\app\cache\dev\classes.php:0, referer: <a href="http://localhost/MyProject/web/app_dev.php/myURL?init" rel="nofollow noreferrer">http://localhost/MyProject/web/app_dev.php/myURL?init</a>
        [Thu May 12 14:11:32 2016] [error] [client 127.0.0.1] PHP Fatal error:  Maximum execution time of 90 seconds exceeded in C:\wamp\www\MyProject\app\cache\dev\classes.php on line 5270, referer: <a href="http://localhost/MyProject/web/app_dev.php/myURL?init" rel="nofollow noreferrer">http://localhost/MyProject/web/app_dev.php/myURL?init</a>
        [Thu May 12 14:11:32 2016] [error] [client 127.0.0.1] PHP Stack trace:, referer: <a href="http://localhost/MyProject/web/app_dev.php/myURL?init" rel="nofollow noreferrer">http://localhost/MyProject/web/app_dev.php/myURL?init</a>
        [Thu May 12 14:11:32 2016] [error] [client 127.0.0.1] PHP   1. Monolog\Handler\AbstractHandler->__destruct() C:\wamp\www\MyProject\app\cache\dev\classes.php:0, referer: <a href="http://localhost/MyProject/web/app_dev.php/myURL?init" rel="nofollow noreferrer">http://localhost/MyProject/web/app_dev.php/myURL?init</a>
        [Thu May 12 14:13:04 2016] [error] [client 127.0.0.1] PHP Fatal error:  Maximum execution time of 90 seconds exceeded in C:\wamp\www\MyProject\app\cache\dev\classes.php on line 5270, referer: <a href="http://localhost/MyProject/web/app_dev.php/myURL?init" rel="nofollow noreferrer">http://localhost/MyProject/web/app_dev.php/myURL?init</a></p>
  </blockquote>
  
  <p>Does anybody Have any idea of what i can do... I already reinstalled several time my software but it does not change anything</p>
  
  <p>Thanks for the ideas and any help.</p>