Please note that the Homestead issue tracker is reserved for bug reports and enhancements. We are not always able to debug Vagrant, Provider or Operating System issues, but will do our best to help. Thank you!
Windows 10
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: c:/homestead_projects
to: /home/vagrant/code
sites:
- map: homestead.test
to: /home/vagrant/code/public
databases:
- homestead
https://gist.github.com/michaelnguyen547/9a200ced3f6ad7bdeed76c63d558a343
Should be able to run PHP 5.6, 7.0, 7.1 and 7.2
What actually happened? Please include as much detail as possible.
I can only run PHP 7.1 (which is default).
php5.5
php5.6
php7.0
php7.2
all give command not found
Please post an entire log of vagrant destroy && vagrant up
your output does not look like a destroy and up. It's way too short for you to have done a destroy first.
please run a vagrant destroy && vagrant up first
damn, you beat me to it Joe.
vagrant destroy && vagrant up fixes the php issues. I dont know why.
Thanks for replies.
Destroy does not cause you to have to redownload the image.
I have this same problem on an Ubuntu 20.04 host, Virtualbox 6.1, Vagrant 2.2.10. Using homestead 10.1.1
Any of the php commands returns command not found. destroy && up didn't work in my case.
Although the "php7.0 artisan" for example, do work...
Any ideas?
I have this same problem on an Ubuntu 20.04 host, Virtualbox 6.1, Vagrant 2.2.10. Using homestead 10.1.1
Any of the php commands returns command not found. destroy && up didn't work in my case.
Although the "php7.0 artisan" for example, do work...Any ideas?
Delete or rename aliases in your Homestead folder and run the init.sh or init.bat again to recreate your aliases file. Could be missing info?