Error in Gearman

Hi,guys!

I installed the Gearman( install gearman-job-server) and the Filsh/yii2-gearman and gearmand(


tar xzf gearmand-1.1.12.tar.gz

cd gearmand-1.1.12

./configure

make

make install

).

When I run it (yii gearman/start --fork=true), I get an error.




php yii gearman/start --fork=true

Success: Process is started

PHP Warning 'yii\base\ErrorException' with message 'GearmanWorker::work(): gearman_worker_grab_job(GEARMAN_NO_REGISTERED_FUNCTIONS) no functions have been registered -> libgearman/worker.cc:750: pid(4593)'


in /var/www/admin/www/vi.com/vendor/sinergi/gearman/src/Gearman/Application.php:309




New error:


php yii gearman/start --fork=true

PHP Warning 'yii\base\ErrorException' with message 'Invalid argument supplied for foreach()'



Help!