jureispro
jureispro

Reputation: 1402

Artisan throws error when running command

I migrated my project (built in Laravel 5) to web server and when I tried to run artisan command I get this error:

[Symfony\Component\Debug\Expetion\FatalErrorExeption]
syntax error, unexpected '\' (T_NS_SEPARATOR)

Does someone knows where is the problem?

Upvotes: 0

Views: 181

Answers (1)

Sumeet
Sumeet

Reputation: 1799

Namespace not supported probably you are in older version of php. Check if your php version meets minimum system requirements

Should be 5.4+

Upvotes: 1

Related Questions