Answer the question
In order to leave comments, you need to log in
Why can't the worker find it?
Class not found when starting worker
php yii gearman/start 1
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/gearman.so' - /usr/lib/php5/20100525/gearman.so: cannot open shared object file: No such file or directory in Unknown on line 0
Success: Process is started, but not daemonized
PHP Fatal error: Class 'GearmanWorker' not found in /var/www/admin/www/mysite.com/vendor/shakura/yii2-gearman/Worker.php on line 59
PHP Fatal Error 'yii\base\ErrorException' with message 'Class 'GearmanWorker' not found'
in /var/www/admin/www/mysite.com/vendor/shakura/yii2-gearman/Worker.php:59
Answer the question
In order to leave comments, you need to log in
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/gearman.so' - /usr/lib/php5/20100525/gearman.so: cannot open shared object file: No such file or directory in Unknown on line 0
No, not everything seems to be.
what exactly did you set - there the paths to the workers or the file permissions need to be edited (chmod + chown) or there are not enough files or the files are broken, or Linux is not Linux. still need to check - maybe you are in the chroot and then the library file needs to be copied to the chroot
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question