-
-
Save johnkary/6124750 to your computer and use it in GitHub Desktop.
Using PHP 5.4 on Ubuntu 12.04.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Can force this into php/recipes/package.rb | |
# Or if you're like me and use a cookbook to provision with chef-solo... | |
# add this near the top of your file before you update apt | |
# Use PHP 5.4 | |
apt_repository "php54" do | |
uri "http://ppa.launchpad.net/ondrej/php5-oldstable/ubuntu" | |
distribution node['lsb']['codename'] | |
components ["main"] | |
keyserver "keyserver.ubuntu.com" | |
key "E5267A6C" | |
end | |
include_recipe "apt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Changed the URI to the 5.4 package repository because the old one http://ppa.launchpad.net/ondrej/php5-oldstable/ubuntu now installs PHP 5.5.