Skip to content

Instantly share code, notes, and snippets.

View JonathanJJudge's full-sized avatar

Jonathan J. Judge JonathanJJudge

View GitHub Profile
@shingorow
shingorow / up-to-php7-in-cloud9.sh
Last active November 20, 2018 10:46
On Cloud9, upgrade PHP 5 to 7.
# Install phpbrew
sudo apt-get update
sudo apt-get install libmcrypt-dev
curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew
chmod +x phpbrew
sudo mv phpbrew /usr/local/bin/
phpbrew init
[[ -e ~/.phpbrew/bashrc ]] && source ~/.phpbrew/bashrc