Question: How Do I Completely Remove Php from Ubuntu?

Question: How Do I Completely Remove Php from Ubuntu?
Contents

How do I completely uninstall PHP?

Uninstall php 7 in ubuntu 18.04

  1. try: sudo apt-get purge php7.* – catcon. Sep 22 ’19 at 3:01.
  2. It might have been installed manually (via make, make install) and therefore is is not registered in apt (looking at the output of which php might give some clues). – Emil Vatai. Sep 22 ’19 at 3:10.

How do I completely remove PHP from Linux?

“remove php version debian” Code Answer

  1. $ sudo apt-get purge php7. *
  2. $ sudo apt-get autoclean.
  3. $ sudo apt-get autoremove.
James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.