Did php 8.1 under Beanstalk intentionally drop pcntl support?

2

I use some pcntl functions in a couple php cli apps. I have been using Beanstalk and php for years. I am in production on 8.0 and these functions work fine. I just tried upgrading to php 8.1 but pcntl is not compiled into the php module in Beanstalk. I understand that is necessary to use these functions.

It is easy to verify. This command shows pcntl is enabled on 8.0 but shows nothing in 8.1

php -i | grep pcntl

The specific functions I use are: pcntl_sigprocmask pcntl_sigtimedwait

已提問 2 年前檢視次數 294 次
1 個回答
0

Looks like AWS fixed this in Beanstalk platform v3.4.1

php --version
PHP 8.1.9 (cli) (built: Aug 23 2022 21:25:19) (ZTS)

pcntl
pcntl support => enabled
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南