I want to know how to uninstall PHP7.0-FPM
From ubuntu 16.x
I tried removing it but the config is the same when I reinstall, how do I completely undo the changes I have made in the configs?
The command apt-get remove
will remove only the binary , you should use the purge
command to remove the needed package with its dependencies and configuration file as follows :
sudo apt-get remove --purge php-fpm
Or
sudo apt-get autoremove --purge php-fpm
Then run the following commands:
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With