title: PHP-CLI Command Not Found
body: <p>Now I just moved to inmotion from siteground and previously from bluehost.  I am trying to set up my laravel(lumen) application on the server.  I have been able to get everything else working but the scheduler which I just cannot seem to get to work.</p>
  
  <p>This is the cron job <code>php -q /home/xxxxx/xxxxx/artisan schedule:run</code> which seem to run fine however it fails to execute the queue:work command.</p>
  
  <p>I noticed on my previous hosting I had to edit the <code>Illuminate\Console\Scheduling\Scchedule.php</code> file like this:</p>
  
  <pre><code>return $this-&gt;exec("php-cli /home/xxxxx/xxxxx/artisan {$command}", $parameters);
  </code></pre>
  
  <p>using the regular <code>php</code> command did not work for some reason I had to use <code>php-cli</code>, however with my current hosting it says "command not found" whenever I try to use the php-cli command manually and all my cron job returns in my email is this:</p>
  
  <pre><code>Running scheduled command: php-cli /home/xxxxx/xxxxx/artisan queue:work &gt; '/dev/null' 2&gt;&amp;1 &amp;
  </code></pre>
  
  <p>I would like to know how I can fix this and get the scheduler to work.</p>
  
  <p>Yes I have php installed. (v7.0)
  Yes I have the php-cli package installed. (v7.0)
  My VPS server uses linox OS.</p>