Laravel ErrorException No such file or directory

  laravel, putty, ubuntu

I have uploaded my Laravel project on ubuntu server via putty terminal.
Composer installed on server machine but when i run any artisan command it gives an error.

$ php artisan serve
      require(/var/www/html/ failed to open stream: No such file or directory

The api.php is already there but i don’t know why this error comes. Tried all the solutions from google.

Source: Laravel

Leave a Reply