I used the following commands to remove PHP from Ubuntu:
sudo apt-get purge php5 php5-cli libapache2-mod-php5 php5-mysql phpmyadmin
sudo rm -rf /etc/php5
But when I run the command php -v
on the command line, I get the following result:
PHP 5.3.29 (cli) (built: Feb 3 2016 18:12:10)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies
I want to remove PHP completely.