The thing is I am using MongoDB with vaprobash script with Homestead for my development environment, but since last updates Homestead is now using PHP 7, which is not yet supported by MongoDB driver.
I took a look to the Homestead repository commits and didn't find out what commit I should reset to.
Do you have any idea how can I go back and use PHP5.6 again?
It seems to be not enough to use an older homestead version. Provisioning ends in " default: php5-fpm: unrecognized service". Current vagrant box doesn't support php5.6, so php version must be still downgraded manually on the VM... :-/
Actually using only vagrant box doesn`t help, cuz Vagrantfile on Homestead asks for version 0.4.0, and if you change to 0.3.3 will have some problems. Well searching for a fork of an older version of Homestead.
My team also uses Mongodb, but most at all uses linux.
@bashy that was the direction I was headed but then I think I'd have to configure NGINX myself. I like the lazy Homestead.yaml way. Maybe that's the best way to go, but I was looking for shortcuts.
@bcoughlin Vaprobash actually has the same commands (not as easy as Homestead.yaml) via the serve command within the server. You could also make it pretty easy to automate it by some small scripts to copy files to nginx.
I ran into the same issue, our work box requires using the mongo driver but personal projects I wanted to try out PHP7. Not totally sure it's the proper way to do it but I forked the homstead repo and changed the scripts to setup a new php56 box based off the previous Homestead.yaml file and a new directory Homestead56 so you can choose to vagrant up Homestead or Homestead56. Works well for me/our team.
I stopped using Homestead as I wanted more flexibility (I use VMware rather than VirtualBox for example). Give https://puphpet.com/ a try.. you can customise your box to whatever you want... you can easily run multiple VMs (so PHP5.6 and PHP7 depending on your needs).. and everything is defined in the config.yaml file (which you can drag-drop back into the site to make any tweaks in the future... easy for adding new databases or virtual hosts if you don't want to edit the file manually).