laravel-5phpmyadminlaravel-valet

Valet - phpMyAdmin throws 404 not found


Before installing Laravel and Valet on my dev environment (Ubuntu), I had installed PHP 7, MySQL and phpMyAdmin and everything was working fine.

In order to install Valet I had to disable apache2 as Valet was complaining during the instalation and add nginx and follow these steps https://github.com/cpriego/valet-linux/wiki/Requirements:%20Ubuntu

However after the instalation when I try to access the phpMyAdmin through the browser I'm getting the default white page 404 - not found. How can I fix this?


Solution

  • You have parked your workspace directory using

    valet park
    

    Clone the phpmyadmin repository using

    git clone https://github.com/phpmyadmin/phpmyadmin --depth=1
    cd phpmyadmin
    composer install
    

    In the same directory just download phpmyadmin package & extract it. You will be able to access it from

    http://phpmyadmin.test