title: How to fix PHP Parse error: syntax error, unexpected '?', on laravel 5.8
body: <p>I have hosted by project on shared hosting where my 'app' folder i outside public_html The php version is 7.3.5, the issue i am having is.. i am have created a cron job to automatically backup the project database but i keep getting this error on my logs;</p>
  
  <pre class="lang-php prettyprint-override"><code>[08-Jun-2019 21:04:01 UTC] PHP Parse error:  syntax error, unexpected '?', expecting variable (T_VARIABLE) in /home/username/app-folder/vendor/zendframework/zend-diactoros/src/functions/marshal_uri_from_sapi.php on line 83 
  </code></pre>
  
  <p>I am using spatie/laravel-backup.</p>
  
  <p>My cron is set as</p>
  
  <pre><code>*   *   *   *   *   php /home/username/app-folder/artisan backup:run 
  </code></pre>