How do I remove an existing LAMP stack?

7.18K viewsLEMPBeginner Command Line FAQ Installation

If I want to start over with a server and install a LEMP stack from scratch, how do I completely remove the existing LAMP stack?


You can uninstall the typical core components via apt-get:

apt-get purge apache2 mysql php.*
apt-get autoclean
apt-get autoremove
You are viewing 1 out of 3 answers, click here to view all answers.