Ubuntu 18.04 LEMP Stack
I am trying to remove all PHP versions except for 7.4 using
sudo apt-get purge php7.0-common and I relpace “7.0” with other versions (5.6, 7.1, etc). However when trying to remove 7.2, it says it is also removing “virtualmin-lemp-stack”. I’m assuming this package is needed, and I’m not sure how to keep it.
The reason why I want to remove all PHP versions besides 7.4, is because I want to use php-fpm7.4, and if an older version is installed, it will default to it.
Am I doing this correctly, or is there a better way to achieve what I am trying to do?