Skip to content

Instantly share code, notes, and snippets.

@nedvajz
nedvajz / cloud9 php7 cakephp
Created October 12, 2017 18:24 — forked from steinkel/cloud9 php7 cakephp
Cloud9 PHP7 (7.1) and CakePHP with Oven
#!/bin/bash
## Upgrade to php7.1 and install required dependencies
# execute this script using
# source <(curl RAW_GIST_URL)
read -p "You are about to upgrade to PHP 7.1 OK? " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo 'y' | sudo add-apt-repository ppa:ondrej/php && \
sudo apt-get update && \