wertyu
wertyu

Reputation: 121

php artisan queue:work command not working

I use queues and have a jobs table in database. jobs are inserted to jobs table but when enter "php artisan queue:work --queue=something" command nothing happens. I have another project which use the same .env file and same queue and it works correctly. I have tried php artisan config:clear but it is still the same. What is the problem?

PS C:\xampp\htdocs\deneme> php artisan queue:work 
PHP Warning:  Module "mysqli" is already loaded in Unknown on line 0
QUEUE_DRIVER=database

Upvotes: 0

Views: 4785

Answers (1)

Mehdi Daalvand
Mehdi Daalvand

Reputation: 661

use queue connection, not queue driver.

QUEUE_CONNECTION=database

Upvotes: 2

Related Questions