I installed it by running sudo apt-get install phpymyadmin
and then running
sudo ln -s /usr/share/phpmyadmin/ /usr/share/nginx/html
and
A simplified version of Jyeon's Answer. You don't need to share the ~/Code folder in the Homestead.yaml file:
folders:
- map: /Users/{yourName}/Code/phpMyAdmin
to: /home/vagrant/Code/phpMyAdmin
Just download the latest version of PhpMyAdmin from PhpMyAdmin and put the unzipped file in the ~/Code/phpMyAdmin
folder and just follow the 2 step here:
Step 1:
Open up homestead.yaml
file and add these lines
sites: - map: phpmyadmin.app to: /home/vagrant/Code/phpMyAdmin
Step 3: Open up your hosts file and add this line:
192.168.10.10 phpmyadmin.app
Now run the vagrant reload --provision command and you're good to go.
Open up the phpmyadmin.app address in your browser and you'll see the phpmyadmin interface.