Search code examples
laravelphpmyadminvagranthomestead

phpMyAdmin hangs on Laravel Homestaed


I am using a Laravel Homestead together with Vagrant.

I want to use phpMyAdmin so I did the following:

  1. Downloaded latest version at https://www.phpmyadmin.net/
  2. Unzip into www/homestead/phpMyAdmin
  3. Added 192.168.10.10 phpmyadmin.test to hosts file

And finally I added the following to Homestead.yaml:

folders: 
    - map: ~/www/homestead/phpMyAdmin # Path on my laptop
      to: /home/www/phpMyAdmin #Path of VM

sites:
    - map: phpmyadmin.test
      to: /home/www/phpMyAdmin

Although it works,every time after I boot my server with vagrant up and go to phpMyAdmin it will hang as soon as I click my first table. It looks like this:

enter image description here

When I click refresh everything looks fine

enter image description here

And from there on it works. Why is this happening, how may I fix it?

I have a Intel® Core™ i7-7700K CPU @ 4.20GHz × 8 with GeForce GTX 1070, 32 GiB Memory on a SSD disk. So I can't image this is a hardware issue.


Solution

  • Please try version 5.0.1 or 4.9.4 of phpMyAdmin