Why not php 5.6.*
Homestead and New Laravel Project: Is it PHP 7.0 or PHP 5.5.34?
I know I'm missing something here. I'm trying to hack around with Laravel 5.3 in a new project. I've reinstalled Homestead (and Virtual box and Vagrant) because the docs say it ships with PHP 7.0.
So I run the following for the new Laravel 5.3 project install:
composer create-project laravel/laravel new-project-install dev-develop
And get:
[InvalidArgumentException] Could not find package laravel/laravel with version dev-develop in a version installable using your PHP version 5.5.34.
The Homestead composer.json file says we're good to go on anything ">=5.5.9" and Laravel 5.3 looks like it currently requires ">=5.6.4".
I assume when the Laravel installer does it's thing, it's considering these minimum requirements in its setup. What am I blanking on?
If it's simply that the global composer (local machine) call outside of the VM is always going to reference the local PHP version, I'd just have to update the local version of PHP to avoid the problem, correct?
Correct. Whatever environment you run the command on, dictates the version of php that's used. This is why, when using a VM I encourage people to run all of their commands inside the VM.
Please or to participate in this conversation.