CodeIgniter Forums
PHP CLI - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: PHP CLI (/showthread.php?tid=41263)



PHP CLI - El Forum - 05-03-2011

[eluser]Unknown[/eluser]
Has anyone had a problem with PHP CLI and CI? I recently switched hostings and now whenever i try to execute
Code:
/usr/local/bin/php /home/xxx/public_html/index.php controllerName functionName
I get a blank output, it does not even seem like it executes the function since I have a echo statement in there.

Thanks


PHP CLI - El Forum - 05-05-2011

[eluser]Unknown[/eluser]
I figured out the problem, it was to do with the URI settings.