AMP AMP
AMP
0
AMP

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
a sample image
liam
asked May 29 2019

Answer

AMP
0
AMP

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
a sample image
linuxhelp
asked May 29 2019
Post your Answer