Skip to content

Instantly share code, notes, and snippets.

@jamiely
Created November 2, 2012 19:54
Show Gist options
  • Save jamiely/4003951 to your computer and use it in GitHub Desktop.
Save jamiely/4003951 to your computer and use it in GitHub Desktop.
default.rb
# Connects apache and php.
package "libapache2-mod-php5" do
action :install
end
# Required for symfony
%w{php5-sqlite php5-mysql}.each do |php_module|
package php_module do
action :install
end
end
execute "phpunit" do
command "sudo pear config-set auto_discover 1 && sudo pear install pear.phpunit.de/PHPUnit"
action :nothing
end
package "php-pear" do
action :install
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment