Can´t access phpMyAdmin in the URL it has to be
Hi,
I just installed phpMyAdmin on my server. Everything ran fine during installation and configuration.
But, when I try to access it:
https://mywebsite.com/phpmyadmin
It displays a 404 error. Even using the IP instead the domain don`t works.
I noticed the alias in /etc/phpmyadmin/apache.conf
file, and it's correct.
Someone has an idea about how could I solve this, please?
Thanks.
4 Replies
I'm not sure how or where you installed phpMyAdmin. I used the Linode guide.
In the directory you want to "have" the app make a symbolic link:
ln -s /usr/share/phpmyadmin phpmyadmin
which is assuming that you put phpmyadmin in the /usr/share directory.
Hi again,
Thank you so much.
I also followed the Linode's guide. But the problem was in that part mentioning (a warning) the needing of to press "space" to select Apache, right at the beginning of phpMyAdmin installation.
The first time I thought it was necessary only to press OK. But we need to also press "space" in order the Apache option be properly selected (with a *).
I've uninstalled phpMyAdmin and reinstalled, but this last time properly selecting that Apache option, and now it's working fine.
What Linode guide did you use? I can't find the one I used on in the Linode docs… for Ubuntu 18.04 or 20.04. Where did they hide it?
I'm going to spin up a new 22.04 Ubuntu server and will need it again.