Answer the question
In order to leave comments, you need to log in
What's with the weird error when trying to start a queue?
Hello.
PHP 8.0.2
Laravel 8 I get
an error when starting queue processing, how to overcome it?
$ /opt/php80/bin/php artisan queue:work
Error Call to undefined function Illuminate\Queue\pcntl_signal()
at vendor/laravel/framework/src/Illuminate/Queue/Worker.php:645
641▕ protected function listenForSignals()
642▕ {
643▕ pcntl_async_signals(true);
644▕
➜ 645▕ pcntl_signal(SIGTERM, function () {
646▕ $this->shouldQuit = true;
647▕ });
648▕
649▕ pcntl_signal(SIGUSR2, function () {
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question