Something changed somewhere on me. Either when I tried to add Javascript to my Laravel project or perhaps when i tried migrating a database or when i updated "brew update", and "composer update". But for some reason I keep just seeing
"No input file specified.".
can someone give me a list of things that can cause this error so I can learn why it happened and how I can fix it please?
Did you update homestead by any chance? No input file specified usually shows up when you try and connect to a hostname nginx isn't configured to serve.
@deringer I may have, I type "brew update", and "composer update", every few days from my home directory. If I did, what would the steps be that I would need to take to fix this?
I did just notice that I am running php5 in vagrant and outside of vagrant, so on my computer and not in the VM, I am running php 7. Could this be playing a part in all of this?
No input file specified is exactly that. Nginx can not find a index or home file to load. In other words nginx isn't pointed to laravels public folder correctly for the url your trying to access. That's it.
So your homestead.yaml file is wrong (99% of the time) in forwarding the url to the proper folder.
The command etc/nginx/sites-available wont work. I get the error -bash: /etc/nginx/sites-available: Is a directory
If I use "sudo nano /etc/hosts" from my home directory I see it.
And when I check to make sure export PATH="$PATH:$HOME/.composer/vendor/bin" is in the
"sudo nano .bash_profile" it is as well.
@bashyls -lah /etc/nginx/sites-available would not work, I'm on mac - idk if that matters, I tried sudo nano /etc/nginx/sites-available and it prompted me to enter my password, which I did, and nothing was in there. How do I check my mapping? You mean the mapping in my yaml file?