Skip to content

Instantly share code, notes, and snippets.

@odiel
Last active December 20, 2015 06:08
Show Gist options
  • Save odiel/6083234 to your computer and use it in GitHub Desktop.
Save odiel/6083234 to your computer and use it in GitHub Desktop.
sudo apt-get install ppa-purge
#Then remove the PPA. All packages you installed from this PPA get removed too!
sudo ppa-purge ppa:ondrej/php5
#Removing current php5
sudo apt-get remove php5 php5-cli php5-common
#Install the official packages from ubuntu again:
sudo apt-get install php5 php5-cli php5-common # ... other PHP 5.3 stuff
#You may wan't to remove ppa-purge afterwards:
sudo apt-get remove ppa-purge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment