Laravel could not open input file: artisan

You need to SSH into your server and then change directories so you are at the project root of your laravel build.

cd /foo/bar/laravelProject

You can then run any artisan commands

php artisan –version

NOTE: You must change to the working directory as stated above. You cannot simply do something like:

/foo/bar/laravelProject php artisan –version