当前位置: 动力学知识库 > 问答 > 编程问答 >

cakephp 1.3 - Undefined variable: argc [APP/webroot/cron_dispatcher.php, line <b>87</b>]<

问题描述:

This question already has an answer here:

  • Cron Dispatcher CakePHP 2.0

    4 answers

网友答案:

The variables $argc and $argv only exist if the relevant php.ini directive is enabled.

You should instead use $_SERVER['argc'] and $_SERVER['argv'].

分享给朋友:
您可能感兴趣的文章:
随机阅读: