0

How to delete the default version of PHP 7.2 On Ubuntu 19.04

Hello,I just want to know the command to delete the default version of PHP 7.2 on ubuntu 19.04 in an easy simple way.

Php Ubuntu Add a comment
liam
asked May 29 2019

Answer

0

Just execute the below commands to delete the default version of PHP 7.2 On Ubuntu 19.04

apt purge "php*" -y
apt autoremove -y

and then check the version of php

root@linuxhelp:~# php -v
-bash: /usr/bin/php: No such file or directory

With this, the default version of PHP 7.2 has been deleted successfully.

Add a comment
linuxhelp
asked May 29 2019
Post your Answer