4

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?

ltdev
  • 4,037
  • 20
  • 69
  • 129

4 Answers4

5

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
Ganesh
  • 3,128
  • 2
  • 17
  • 27
3

If you have phpmyadmin already installed from your last setup, you don't have to download it & install it again. I was facing the same thing migrating to valet from lamp, this is what I did:

1- Navigate to original phpmyadmin folder

cd /usr/share/phpmyadmin

2- Then add a link to valet

valet link

Hooray! you can now access it at: phpmyadmin.test

Kash
  • 1,663
  • 3
  • 24
  • 33
0

If you changed a port 8080. You can try this

localhost:8080/phpmyadmin/

Anonim
  • 1
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). –  Oct 20 '21 at 10:07
-1

I tried this and it failed to work for me, I found a workaround, check the link for my solution: https://stackoverflow.com/a/47211246/8768078

samtoya
  • 69
  • 1
  • 8