Successfully Remove php from Linux System using following Commands

sudo apt-get remove –purge php*
sudo apt-get purge php*
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get remove dbconfig-php
sudo apt-get dist-upgrade

2 thoughts on “ How to Remove php from Any Linux System ”

  1. After that install php version which is compatiable your owncloud version.The command to Install php sudo apt-get install php7.2Here,the php version is 7.2. You can change it as per your requirements.

Leave a Reply