Skip to content

Instantly share code, notes, and snippets.

@bahiirwa
Last active Jun 29, 2019
Embed
What would you like to do?
Update PHP to 7.2 & Add composer on mac
# Update php
# https://medium.com/zenchef-tech-and-product/how-to-upgrade-your-version-of-php-to-7-0-on-macos-sierra-e1bfdea55a63
curl -s http://php-osx.liip.ch/install.sh | bash -s 7.2
export PATH=/usr/local/php5/bin:$PATH
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
composer --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment