title: Laravel Project, 500 internal server error
body: <p>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</p>
  
  <p><strong>with PHP 5.6</strong> (which is expected)</p>
  
  <pre><code>Parse error: syntax error, unexpected '?' in /home/clarionit/public_html/ambience/c/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 233
  </code></pre>
  
  <p><strong>with <code>PHP</code> <code>7.0</code> / <code>7.1</code> / <code>7.2</code></strong></p>
  
  <p>500, Internal server error.</p>
  
  <p><strong>What I have done so far?</strong></p>
  
  <ul>
  <li>Permissions for all files and folders are set to <code>777</code> (to see if that is a problem)</li>
  <li>Replacing <code>index.php</code> code with something simpler like <code>phpinfo()</code> works perfectly.</li>
  </ul>
  
  <p>Ask for any more information needed, Please tell me what can be causing the <code>500, internal server error</code>. </p>