Completely removing phpMyAdmin [closed]

☆樱花仙子☆ 提交于 2019-11-29 20:17:56

Try running these commands in that order, they're redundant but it's ok

sudo dpkg -P phpmyadmin  
sudo rm -f /etc/apache2/conf.d/phpmyadmin.conf
sudo service apache2 restart

I had to run the following command:

sudo apt-get autoremove phpmyadmin

Then I cleared my cache and it worked!

Brant

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.

sudo apt-get purge libapache2-mod-php5

sudo apt-get install libapache2-mod-php5

sudo apt-get purge phpmyadmin

sudo apt-get install phpmyadmin

sudo /etc/init.d/apache2 restart

Try purge

sudo aptitude purge phpmyadmin

Not sure this works with plain old apt-get though

Batnasan Byambasuren

I had same problem. Try the following command. This solved my problem.

sudo apt-get install libapache2-mod-php5
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!