Skip to content

Instantly share code, notes, and snippets.

@iamdylanngo
Last active February 18, 2019 03:47
Show Gist options
  • Save iamdylanngo/2bbb77349fc7cb6adf6298f18dcdd42f to your computer and use it in GitHub Desktop.
Save iamdylanngo/2bbb77349fc7cb6adf6298f18dcdd42f to your computer and use it in GitHub Desktop.
remove-php7-on-ubuntu
# Remove all php7 in ubuntu
// stop php7.x-fpm service
sudo service php7.2-fpm stop
// remove php7
sudo apt-get remove php7.*
// remvoe all config of php7
sudo apt-get purge php7.*
// remove all dendencies of php7
sudo apt autoremove
// remove common php7.x
sudo apt-get purge php7.2-common
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment