This is most likely completely noob and something simple ive missed but its been driving me mad all day and the IRC is not being very helpful :c
Using Laravel PHP Framework and routing is failing.
Environment:
- Host machine Ubuntu 14.04
- Guest Machine Laravel - Homestead Vanilla(Standard) Vagrant Box
Project:
Default unedited Composer Laravel Project
Behaviour
Navigate to /public you get the laravel project hello page(suggests friendly urls and routing is working fine). When you navigate to /account you get "No input file specified. "
The Code
-- app/routes.php --
Route::get('/', function()
{
return View::make('hello');
});
Route::get('/account', function()
{
return View::make('account');
});
PLEASE NOTE HERE THAT THE ACCOUNT.PHP WAS CREATED IN THE VIEWS FOLDER
Nginx Error Logs
2014/06/24 06:56:49 [error] 1307#0: *97 FastCGI sent in stderr: "Unable to open primary script: /home/vagrant/Code/profile_system/index.php (No such file or directory)" while reading response header from upstream, client: 192.168.10.1, server: profile-system.app, request: "GET /accounts/create HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "profile-system.app"
So apparently the issue is that it cant find index.php in the / of the project. But laravel does not have an index.php in /.
Any ideas? See this link for complete environment info. happy to add anything else on request. https://gist.github.com/Jonjoe/6359e71e47b7a489109c