Powered by Blogger.

Completely remove apache MySQL PHP ubuntu


Completely remove apache MySQL PHP ubuntu

Remove Apache and all of its dependencies.
apt-get purge apache2 php5 libapache2-mod-php5 mysql-server libapache2-mod-auth-mysql php5-mysql phpmyadmin
then
rm -rf /etc/apache2; rm -rf /etc/php5; rm -rf /var/lib/mysql; rm etc/mysql
If you have any issues with phpMyAdmin than reconfigure it.
dpkg-reconfigure phpmyadmin

No comments