Skip to content

Instantly share code, notes, and snippets.

@demagu
Last active August 29, 2015 14:15
Show Gist options
  • Save demagu/5bd0310d0f1646cbc7f3 to your computer and use it in GitHub Desktop.
Save demagu/5bd0310d0f1646cbc7f3 to your computer and use it in GitHub Desktop.

How to: Upgrade PHP on Vargant Ubuntu 12.04 LTS from 5.3 to 5.5

Login to your Vagrant:

vagrant ssh
sudo su

Then:

  • Step 1: sudo apt-get update && sudo apt-get install python-software-properties

  • Step 2: sudo add-apt-repository ppa:ondrej/php5

  • Step 3: sudo apt-get update && sudo apt-get dist-upgrade

  • Step 5: sudo service apache2 restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment