You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do a fresh clean clone of the master branch and do vagrant up it does the base box import and a whole bunch of provisioning, and then it says php5-fpm: unrecognized service. And when I vagrant SSH in to the box and do service --status-all it has php7.0-fpm in the list but not php5-fpm.
So I'm fairly sure it's installing PHP 7 and not PHP 5.x. So I tried changing "php": ">=5.4" to "php": "~5.4" in composer.json, but that hasn't helped.
Also I'm guessing I probably need to specify version 0.3.x of the base box, not 0.4.0, because 0.4.0 is on PHP7. So I've added a config.vm.box_version = "~> 0.3" line right under config.vm.box = settings["box"] ||= "laravel/homestead" in scripts/homestead.rb, but that hasn't helped either. Even after I did a vagrant destroy && vagrant up, just to be sure. (You can see my attempts in this branch.)
Do you happen to have any suggestions on what I might need to do to get PHP 5 working again?
Hi @yajra
When I do a fresh clean clone of the master branch and do
vagrant up
it does the base box import and a whole bunch of provisioning, and then it saysphp5-fpm: unrecognized service
. And when Ivagrant SSH
in to the box and doservice --status-all
it hasphp7.0-fpm
in the list but notphp5-fpm
.So I'm fairly sure it's installing PHP 7 and not PHP 5.x. So I tried changing
"php": ">=5.4"
to"php": "~5.4"
incomposer.json
, but that hasn't helped.Also I'm guessing I probably need to specify version 0.3.x of the base box, not 0.4.0, because 0.4.0 is on PHP7. So I've added a
config.vm.box_version = "~> 0.3"
line right underconfig.vm.box = settings["box"] ||= "laravel/homestead"
inscripts/homestead.rb
, but that hasn't helped either. Even after I did avagrant destroy && vagrant up
, just to be sure. (You can see my attempts in this branch.)Do you happen to have any suggestions on what I might need to do to get PHP 5 working again?
With many thanks,
@BrendanTWhite.
The text was updated successfully, but these errors were encountered: