Where is my phpMyAdmin installation?
Solution 1:
You just need to make a symbolic link to the installation in your server root. Mine is in /var/www/
(though check your DocumentRoot
as default is often /var/www/html
) so:
sudo ln -s /usr/share/phpmyadmin/ /var/www/phpmyadmin
After that, you'll be able to access trough localhost:
http://localhost/phpmyadmin
As for why is not installed by default in its right location, or the installer creates a symbolic link itself, I have no idea...
Solution 2:
This answer is little bit more generic. To know the list of files installed by any package you have to do this
- Get the name of the package with
dpkg --list | grep phpmyadmin
- For list of file installed use this
dpkg --listfiles <package_name step 1>
Solution 3:
I imagine that you probably are facing the same issue that I had the first time I installed phpmyadmin. Considering it's been over a year since you asked this, I'm assuming you've figured it out by now, but for future reference for others, if you can't see it when going to http://yourdomain.com/phpmyadmin, you probably need to reconfigure the package, and make sure that you place a checkbox in the apache2 box (assuming that's what you're using for your server) by pressing the spacebar before you continue. I was going quickly and just pressed enter, not realizing that I hadn't selected apache2. To reconfigure the package, use the following:
sudo dpkg-reconfigure phpmyadmin
Solution 4:
Oh, usually the phpmyadmin goes to /usr/lib/phpmyadmin
if I'm not wrong.
I always need to move the folder to my www
path.
Solution 5:
For me it worked out differently.
I've had to copy the apache.conf
file from /etc/phpmyadmin
to /etc/apache2/sites-available
and to /etc/apache2/sites-enabled
using file manager as root.
Then I ran sudo service apache2 restart
and everything was just fine.
Hope it's usefull.