My Laravel 5.1 website works fine on my localhost. I moved all folders to a "laravel" folder I created off root at the host. Host is running php 5.6. Then moved the index.php (originally in the laravel public folder) to public_html at the host. Made some edits to the index.php for it to see bootstrap. I could see the front login page, and at that point it's not making any calls to the database. My next step was to run artisan migrations to create the database and seed it. When I ran:
php artisan migrate:refresh
I got this error:
Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in /home/myself9/laravel/artisan on line 31
and that line happens to be:
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
I verified that the required php extensions are installed with my host's php rev 5.6
OpenSSL PHP Extension PDO PHP Extension Mbstring PHP Extension Tokenizer PHP Extension
Any ideas?