Running http://192.168.10.10/ doesn't open up the laravel app. This is a problem I've been battling for over a week. I've gone through lots of posts on Stackoverflow and other blogs to find solutions to it all to no avail.
I want to develop with laravel on my vm hence the use of a vagrant box for set up. Both folder structures on my local machine and vagrant machine are in synchron but any time I hit the app url I get this dreadful "No input file specified." 192.168.10.10 page
I also ensured that the homestead.yaml folder and /etc/hosts are properly configured. Here's my Homestead.yaml file
---
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/code/project1
to: /home/vagrant/project1
sites:
- map: homestead.test
to: /home/vagrant/project1/public
databases:
- homestead
features:
- mariadb: false
- ohmyzsh: false
- webdriver: false
# ports:
# - send: 50000
# to: 5000
# - send: 7777
# to: 777
# protocol: udp
And the /etc/hosts config:
127.0.0.1 localhost
127.0.1.1 bashorun-HP-EliteBook-8440p
192.168.10.10 homestead.test
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
The vagrant machine folder structure looks this way too: Vagrant machine environment
While on my local machine, it looks this way: Local machine environment
So, could it be location I run the 'composer require laravel/homestead' is wrong. I'd be grateful if I could be shown a correct working procedure on how to solve this problem. Thanks.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire