Why is my Symfony 2.0 site running slowly on Vagrant with Linux host?

前端 未结 5 1030
北恋
北恋 2020-12-24 14:51

I\'ve got a Symfony 2.0 application running using Vagrant with a Linux guest and host O/S (Ubuntu). However, it runs slowly (e.g. several seconds for a page to load, often

5条回答
  •  离开以前
    2020-12-24 14:59

    ATM, basically, do not put your website code on the /vagrant shared folder. As it's shared between your VM and host O/S, it's slower; and I didn't find any efficient solution to get good performance. The solution we're using is to serve our developments apps from the classic /var/www, and keep them in sync with our local copy with rsync.

提交回复
热议问题