Skip to content

Instantly share code, notes, and snippets.

@bahiirwa
Last active June 29, 2019 13:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save bahiirwa/1a95ee3f5f435acb76d6963d6a2e9465 to your computer and use it in GitHub Desktop.
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