Level 5
Looks like you are missing configuration. Double check your .env or files inside config folder.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have installed supervisor on AWS EB via SSH the server is
PHP 7.4 | running on 64bit Amazon Linux 2 | Laravel 7.0
When I put the config of workers in /etc/supervisord.d/a-dev.conf file
[program:laravel-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /var/app/current/artisan queue:work sqs --sleep=3 --tries=3
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
user=root
numprocs=8
redirect_stderr=true
stdout_logfile=/var/app/current/storage/worker.log
stopwaitsecs=3600
then check the status of workers via
[ec2-user@ip-XXX-XX-21-0 storage]$ sudo supervisorctl status
laravel-worker:laravel-worker_00 BACKOFF Exited too quickly (process log may have details)
laravel-worker:laravel-worker_01 BACKOFF Exited too quickly (process log may have details)
laravel-worker:laravel-worker_02 BACKOFF Exited too quickly (process log may have details)
laravel-worker:laravel-worker_03 BACKOFF Exited too quickly (process log may have details)
laravel-worker:laravel-worker_04 BACKOFF Exited too quickly (process log may have details)
laravel-worker:laravel-worker_05 BACKOFF Exited too quickly (process log may have details)
laravel-worker:laravel-worker_06 BACKOFF Exited too quickly (process log may have details)
laravel-worker:laravel-worker_07 BACKOFF Exited too quickly (process log may have details)
I got this error in log file
Missing required client configuration options:
region: (string)
A "region" configuration value is required for the "sqs" service
(e.g., "us-west-2"). A list of available public regions and endpoints can be
found at http://docs.aws.amazon.com/general/latest/gr/rande.html.
at /var/app/current/vendor/aws/aws-sdk-php/src/ClientResolver.php:406
402| $missing[] = $this->getArgMessage($k, $args, true);
403| }
404| $msg = "Missing required client configuration options: \n\n";
405| $msg .= implode("\n\n", $missing);
> 406| throw new IAE($msg);
407| }
408|
409| public static function _apply_retries($value, array &$args, HandlerList $list)
410| {
^[[2m+22 vendor frames ^[[22m
23 /var/app/current/artisan:37
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
Please or to participate in this conversation.