How to completely remove lamp server and phpmyadmin

9,541

To remove the LAMP stack :
1.sudo apt-get purge mysql-server apache2 php5

Note: This assumes you have no other programs that require any of these packages. You might wish to simulate this removal first, and only remove the packages that don't cause removal of something desired.

2.sudo apt-get purge 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

Share:
9,541

Related videos on Youtube

Amit Bera
Author by

Amit Bera

Magento 2 Certified Developer & Consultant, Magento StackExchange Moderator have experience in Magento 8 years. Magento recognized me as one of top contributors from India for 2017 Contact Details. Website: www.amitbera.com Skype address: dev.amitbera Email: [email protected] LinkedIn : http://in.linkedin.com/in/devamitbera90 Twitter : https://twitter.com/dev_amitbera Magento stackexchange profile: http://magento.stackexchange.com/users?tab=Reputation&filter=all About Me. I have developed multiple websites and also assisted teams in developing multiple e-commerce solutions for clients around the world who are using this as one the means to expand their business. I am currently working both as a developer as well as a consultant for e-commerce solutions and website development. My strength lies in understanding and finding the right solutions as in e-commerce websites and business you cannot make any mistakes. You can also visit the following to check out my profile and also my contribution to the Magento and coding community Feel free to contact me. I am open to troubleshooting.

Updated on September 18, 2022

Comments

  • Amit Bera
    Amit Bera over 1 year

    I am a newly used lamp server and phpmyadmin.I was trying to install lamp server and phpmyadmin,but it is not working.So,

    i want to completely remove lamp server and phpmyadmin.

    Also ,give

    a proper steps to fresh installing of lamp server and phpmyadmin.

    • Radu Rădeanu
      Radu Rădeanu about 10 years
      What do you mean with: but it is not working. What do you expect (to see)? What did you tried?
    • Amit Bera
      Amit Bera about 10 years
      i was trying different process..that why it is not working properly and did not configure properly...
  • Kenpachi
    Kenpachi about 10 years
    well LAMP means LINUX, Apache, MySQL and PHP/Perl . XAMPP for LINUX is one package that makes your job easier. It contains all the things for setting up LAMP - No configuration required.