Uninstall phpmyadmin ubuntu 20.04 completely
I installed virtualmin and phpmyadmin separately using the apt-get command. phpMyAdmin didn't work because of Virtualmin's security settings (suexec). When I visit mydomain.com/phpmyadmin, it would download the whole PHP page instead of execute it. I tried disabling suexec but it didn't work. So now I want to remove phpMyAdmin. I removed it using the apt-get remove command and also deleted the /etc/phpmyadmin folder. But still, when I visit mydomain.com/phpmyadmin, it downloads the page. It probably means phpmyadmin wasn't completely deleted. Show What is the problem? Please help. asked Feb 19, 2011 at 10:42
If your system is using
dpkg and apt (debian, ubuntu, etc), try running the following commands in that order (be careful with the
answered Feb 27, 2011 at 21:16
forcefsckforcefsck 2,6251 gold badge16 silver badges12 bronze badges 2 I had to run the following command:
Then I cleared my cache and it worked! answered Jan 4, 2012 at 17:09
3 I was having a similar problem. PHP was working on my sites configured by virtualmin but not for phpmyadmin. PHPMyAdmin would not execute and the file was being downloaded by the browser. Everything I was reading was saying that libapache2-mod-php5 was not installed but I knew it was... so the thing to do was to purge it and reinstall.
alony 10.6k3 gold badges38 silver badges46 bronze badges answered Mar 10, 2012 at 23:09
BrantBrant 911 silver badge1 bronze badge 0 Try
Not sure this works with plain old answered Feb 19, 2011 at 10:46
xzyferxzyfer 13.7k5 gold badges34 silver badges46 bronze badges 0 I had same problem. Try the following command. This solved my problem.
mtk 12.7k15 gold badges70 silver badges111 bronze badges answered Jan 5, 2013 at 6:45
I messed up my I decided to purge PHPMyAdmin:
I did get some error messages asking for my password, but I forgot that, so I just pressed ignore, after that, I installed
But now, when I logging to my
How do I completely uninstall phpMyAdmin?Uninstall or Remove phpmyadmin, apache2, PHP, MariaDB from Linux (Ubuntu) Server via terminal. REMOVE phpmyadmin. sudo apt-get purge phpmyadmin. OR. sudo apt-get remove phpmyadmin.. REMOVE php. sudo apt-get purge php.*. REMOVE apache2.. How do I completely install phpMyAdmin on Ubuntu?How to Install phpMyAdmin – Ubuntu 18.04 and 20.04. Install phpMyAdmin package.. Setup user and grant permissions.. Access phpMyAdmin on browser.. Create a new user.. Secure phpMyAdmin.. How do I uninstall and reinstall phpMyAdmin?Answer. Connect to a Plesk server via SSH.. Get the phpMyAdmin database name and MySQL username: ... . Check if the phpmyadmin database exists on the server: ... . Remove this database from MySQL: ... . Check if the phpmyadmin user exists in the mysql.user table: ... . Restart MariaDB/MySQL: ... . Remove the phpMyAdmin package: ... . Reinstall phpMyAdmin:. How do I know if phpMyAdmin is installed on Ubuntu?Get the name of the package with dpkg --list | grep phpmyadmin.. For list of file installed use this dpkg --listfiles |