开发者

Code Igniter and PHP CLI

Has anyone had a problem with PHP CLI and CI 2.02? I recently switched hostings and now whenever i try to execute

/usr/local/bin/php /home/userName/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. If I execute a simple file I created, it works OK.

I don't know if it is something that needs to be changed in PHP or Apache config.


The problem was that URI was not being passed and my site had the errors turned off so I could not see any of the error messages. After getting the Error Logs turned on I was able to see I had the wrong URI set.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜