Langkah Menghapus Lamp Server :
- Buka terminal
- Masuk root
# (masukkan password)
- Untuk menghapus paket lamp server pada ubuntu 14.04 tulis perintah-perintah terminal di bawah ini:
# sudo apt-get remove apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 php5-common php5-mysql
# sudo apt-get purge apache2 php5-cli apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libnet-daemon-perl libplrpc-perl libpq5 mysql-client mysql-common mysql-server php5-common php5-mysql phpmyadmin && sudo apt-get autoremove
Pilih yes
klik ok
Klik ok
Pilih retry
pilih yes
Masukkan password, lalu klik ok
pilih ignore
# sudo apt-get autoremove
Sumber : http://askubuntu.com/questions/50101/how-do-i-remove-the-lamp-stack-so-i-can-start-over