Vagrant with PHP + Mysql + Linux + Puphpet + ZF2 very slow

Asked

Viewed 392 times

2

I have a Windows-mounted environment with ZF2, Doctrine and Mysql that runs very fast.

But now I’m experimenting with Vagrant with the machine configured through Puphpet. I managed to make the system work in this environment, but it is extremely slow. And when I search directly in Mysql for the console, it’s super fast. I didn’t make any configuration changes in PHP or Mysql.

They’d have some light to give me?

  • Dude I tried to use Puphpet(5vzs) and I couldn’t get Nginx to work and some other stuff,their system is extremely fast but I believe it’s not perfectly stable. I deleted the VM and created a new one from scratch without puphet,I advise you to do the same. Abs

1 answer

2

Vagrant admittedly has some performance issues, the most common being related to file synchronization.

To documentation of Vagrant provides alternatives to remedy the problem using NFS. isiso only works on linux. If your machine host for Windows, you can use synchronization via SMB.

Other potential points that may be cause of slowness are:

  • Little memory available
  • Few nuclei (colors) for processing
  • Problem with the preview VM standard (Virtual Box)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.