Background
Installing phpMyAdmin on a Laravel Forge server can be an enormous challenge. One would image you can just specify phpmyadmin/phpmyadmin
as the repo and leave the default branch as master
, but alas, no such luck.
This article documents a manual way of doing it by cloning the latest phpMyAdmin repository. It’s a three step process:
- Clone
- Move files up
composer install
1. The phpMyAdmin repository is at https://github.com/phpmyadmin/phpmyadmin. To find out what the latest version is, click on the branch dropdown:
Then create a new site in Forge. Then clone using the latest QA branch:
[email protected]:~/phpmyadmin.domain.com/public$ git clone --depth=1 --branch=QA_5_0 git://github.com/phpmyadmin/phpmyadmin.git
2. This will clone it into the phpmyadmin
folder. If you prefer to have it in the index, move all the files one level up.
3. Run composer install
References
- https://laracasts.com/discuss/channels/forge/how-to-install-phpmyadmin-on-forge
- https://laracasts.com/discuss/channels/servers/phpmyadmin-on-forge