Skip to content

Instantly share code, notes, and snippets.

@dobbsryan
Last active June 30, 2016 15:51
Show Gist options
  • Save dobbsryan/d83675e5f8a9b9b1f4df6e52281af1b9 to your computer and use it in GitHub Desktop.
Save dobbsryan/d83675e5f8a9b9b1f4df6e52281af1b9 to your computer and use it in GitHub Desktop.

Get PHP Installed -- Laracasts Vid

Note to self: If ever making composer calls outside of Homestead VM for installing a Laravel version in development (Laravel 5.3 as of 6/30/16), make sure the PHP version on your local machine is current or the same as the VM. Otherwise, composer will fail if the PHP version requirement is greater than what's on your local.

To update, run:

$ brew install homebrew/php/php70

PHP 7.0 is the current verion as of 6/30/16

Make sure to open new terminal window and can check the update:

$ php -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment