I developed a simple application in laravel (5.6) everything works fine on my PC (windows 10/ Xamp / PHP 7.1). but when i upload the same project to a VPS running Cent OS it gives
with PHP 5.6 (which is expected)
Parse error: syntax error, unexpected '?' in /home/clarionit/public_html/ambience/c/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 233
with PHP
7.0
/ 7.1
/ 7.2
500, Internal server error.
What I have done so far?
- Permissions for all files and folders are set to
777
(to see if that is a problem) - Replacing
index.php
code with something simpler likephpinfo()
works perfectly.
Ask for any more information needed, Please tell me what can be causing the 500, internal server error
.