title: Codeigniter app returns blank output in CLI
body: <p>I'm setting up my cron job controller that will only run within the CLI, I've not started with anything built, just in the testing phase with CI's examples. However, when running it I get no output or anything else, just a new line, this is the command I ran:</p>
  
  <pre><code>root@serv$ php /var/www/ci/index.php tools message
  root@serv
  </code></pre>
  
  <p>As you can see in the <em>second</em> line, I get no output, just a new line to run an command but I don't understand why and I cannot debug it. The code contains this:</p>
  
  <pre><code>&lt;?php
  class Tools extends CI_Controller {
  
      public function message($to = 'World')
      {
          echo "Hello {$to}!".PHP_EOL;
      }
  }
  ?&gt;
  </code></pre>
  
  <p>In my configuration file, the <code>$config['uri_protocol']</code> is set to <code>AUTO</code> so this does not seem to be the problem.</p>
  
  <p>How can I debug this? What are the options that I may need to deal with?</p>
  
  <p>I also have <code>display_errors</code> on and <code>error_reporting</code> on to <code>E_ALL</code>.</p>