Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

benjav
benjav
16,891 Points

Laravel Basics-- 'no input file specified' error

I am continuing to get a 'no input file specified' error after going to laravel.dev (192.168.10.10) in the browser. I've reference Treehouse and other Laravel forums and can't resolve this. The Homestead.yaml file is set up identical to the example in Laravel Basics video (located in /Homestead/src/stubs), with 'laravel.dev' mapping to /Home/vagrant/Sites/laravel-basics/public. The Laravel instance is installed in the Homestead directory and the host file mapped to the above IP. I've tried vagrant provision, restarting nginx, and even destroying and restarting Homestead in the VM. Any additional info to help resolve this is appreciated. Thanks.

1 Answer

I've had some problems with the newer versions of homestead if I don't use the port number. Instead of laravel.dev, try laravel.dev:8000.

benjav
benjav
16,891 Points

After editing the nginx server files I was able to get past the 'no input file specified' error but only to now see a white screen displaying 'Laravel 5' and nothing else at laravel.dev in the browser. I tried adding :8000 to the site but I cannot get beyond this point. If anyone has any recommendations to resolve this, any help is appreciated. Thanks.