Symfony2 Slow Initialization Time

前端 未结 9 1692
一生所求
一生所求 2020-11-29 15:32

I have Symfony2 running on an Ubuntu Server 12.04 (64-bit) VM (VirtualBox). The host is a MacBook pro. For some reason I am getting really long request times in developmen

9条回答
  •  时光取名叫无心
    2020-11-29 16:10

    I also needed to disable xdebug (v2.2.21) to debug apache2 max timeout loading on my macbook. It was installed using macports:

    sudo port install php54-xdebug.
    

    With xdebug enabled, every page run out max loading time, with a fatal error exceeding max timeout message dispatched. When disabled, everything just loads fine in a reasonable expected time. I came to this using MAMP, no xdebug enabled by default, and apache2 just works fast as usual. I may change for another debugger, that's a pitty, because xdebug worked fine before.

    Config:

    • MacOSX 10.6.8
    • macports 2.1.3
    • Apache 2.2.24
    • php 5.4

提交回复
热议问题