I am trying to deploy a Laravel application on a shared hosting but I am getting HTTP ERROR 500 when I try to access the web in the browser.
I have configured my index.php file, and my php version is 5.6.
Does anyone know how I can fix this?
Here is my error log:
PHP Parse error: syntax error, unexpected '?' in /home/umugeoyw/umugabo/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 500
and on line 500 in helpers.php I have this:
return $factory->of($arguments[0], $arguments[1])->times($arguments[2] ?? null);