简体   繁体   中英

pcntl_async_signals() has been disabled for security reasons || Ubuntu 16 - Laravel 5.6

I have a server running on Ubuntu 16.04 running Laravel app version 5.6.29 on PHP version 7.2.8.

I have set up some queue jobs to upload videos to the server and compile them and upload to s3 bucket. Suddenly from the past few hours,I am facing the following issue.

pcntl_async_signals() has been disabled for security reasons

I have also tried the solution from this thread https://stackoverflow.com/a/16262922
It's not helping either.

在此处输入图片说明


Edit : I also tried restarting queue worker, Running the queue worker manually. Also tried restarting supervisorctl.

sudo supervisorctl restart all
php artisan queue:restart
php artisan queue:work

Check your php.ini configuration. You'll find a line:

disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid........

You'll need to remove any functions that are called by the queue driver, such as pcntl_async_signals, pcntl_async_signals, pcntl_alarm, pcntl_signal.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM