Contents
How do I completely uninstall PHP?
Uninstall php 7 in ubuntu 18.04
- try: sudo apt-get purge php7.* – catcon. Sep 22 ’19 at 3:01.
- 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
- $ sudo apt-get purge php7. *
- $ sudo apt-get autoclean.
- $ sudo apt-get autoremove.