Symfony 4 extremely slow on windows

前端 未结 5 2172
甜味超标
甜味超标 2021-02-07 20:17

I\'ve used Symfony on Windows 10 for my projects for a few years (SF2, SF3), and I recently moved to Symfony 4 to build a new project but perfo

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-07 20:54

    • Are you using localhost to connect to the db (or anything)? Change it to 127.0.0.1

    • JMS DI Extra bundle can do this on windows if not configured properly.

    • Others have mentioned xdebug and realpath_cache_size, those are also regular culprits.

提交回复
热议问题