新手问题,找不到global $argv;

IT名工30
Warning: Invalid argument supplied for foreach() in D:\www\workerman-for-win-master\Worker.php on line 616

Warning: in_array() expects parameter 2 to be array, null given in D:\www\workerman-for-win-master\Worker.php on line 592
----------------------- WORKERMAN ----------------------------- Workerman version:3.4.20 PHP version:5.5.30 ------------------------ WORKERS ------------------------------- worker listen processes status none text://0.0.0.0:2347 1  ---------------------------------------------------------------- Press Ctrl-C to quit. Start success. @@@no worker inited@@@ 
Fatal error: Call to undefined function Workerman\Lib\pcntl_alarm() in D:\www\workerman-for-win-master\Lib\Timer.php on line 101

因为找不到global $argv;所以出错,哪位好心的phper可以给我解答一下,不胜感激!

3131 1 0
1个回答

latin

你这个是用浏览器访问运行workerman吧?
workerman是用命令行运行的,按照手册的运行命令来运行

  • 暂无评论
年代过于久远,无法发表回答
×
🔝