After you clone https://github.com/laravel/homestead.git. Go to that directory and run 'git checkout v6.5.0'. From there, you can specify the php version like it says on the laravel docs.
Nov 24, 2017
11
Level 4
Vagrant\Homestead - setting up multiple php versions
I have installed virtual box on my machine few months ago, and I have read that it is possible to set the PHP version per project in Homestead.yaml file, here in the laravel docs. In the warning there it says
this feature is only compatible with Nginx
I thought we are running Nginx on Homestead?
How can I also check if I am having the latest homestad version since this is possible only since Homestead 6 release. I have with homestead-v but that gave me an error that the homestead command was not found.
Please or to participate in this conversation.