enabling xdebug remote debug makes apache server very slow

后端 未结 11 474
野的像风
野的像风 2020-12-02 12:03

If I enable xdebug by settting xdebug.remote_enable=1, the apache server becomes very slow; once I change the setting to 0, it\'s normal.

I

11条回答
  •  忘掉有多难
    2020-12-02 12:42

    Experienced also low performance with XDebug (loading Captcha in 6 seconds instead of milliseconds) Remarks on this page got me on the way to identify the cause.

    Turned off the profiler and loading time was divided by 3. Still slow, but better already.

    xdebug.profiler_enable = 0
    

提交回复
热议问题