Problem while hosting laravel project in cpanel [closed]

Parse error: syntax error, unexpected ‘:’, expecting ‘{‘ in /home2/xxxxxx/Xxxxx/vendor/symfony/polyfill-php80/bootstrap.php on line 23

I tried to host my laravel project in server but showing me this error.

I have changed the php version in Cpanel
Now it shows me
This page is not working unable to handle this request
HTTP ERROR 500

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *