title: Laravel artisan command not working on CentOS 7
body: <p>I am trying to run php artisan commands on CentOS 7 server via SSH connection.
  When I get to my project root folder and type:</p>
  
  <pre><code>php artisan list
  </code></pre>
  
  <p>or </p>
  
  <pre><code>php artisan mail:send
  </code></pre>
  
  <p>I receive the following error:</p>
  
  <blockquote>
    <p>PHP Parse error:  syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /var/www/vhosts/projects/httpdocs/myproject/artisan on line 31</p>
  </blockquote>
  
  <p>What should I do in order to fix this issue?</p>