问题描述:

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'].

相关阅读:
Top