0
votes

When I upload my Laravel project to cPanel I get the following error

Parse error: syntax error, unexpected '$kernel' (T_VARIABLE)

1
Please provide Laravel version, PHP version on your server, hosting Provider, Apache/Nginx configuration and every additional information that can help users better understand your scenario.brazorf
Laravel Framework - 6.03 , PHP Version 7.3.9, Apache Version 2.4.41clive broom

1 Answers

0
votes

Your php version is too low. Try version 7.0 or later php.