Skip to content

Conversation

brandonkelly
Copy link
Contributor

We have a couple customers running Craft CMS on hosts that have the PCNTL extension installed, but its functions are listed in disabled_functions, so they get PHP errors when running the queue.

This PR enhances the extension_loaded('pcntl') checks with specific checks to see if its functions also exist. We’ve verified that it fixes the PHP errors.

Q A
Is bugfix? yes
New feature? no
Breaks BC? no
Tests pass? yes

Copy link
Member

@samdark samdark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a line for changelog. Thanks.

@samdark samdark added this to the 2.3.1 milestone Apr 15, 2021
@brandonkelly
Copy link
Contributor Author

@samdark Already done :)

@samdark samdark merged commit 974f9d6 into yiisoft:master Apr 16, 2021
@samdark
Copy link
Member

samdark commented Apr 16, 2021

Merged. Thanks. We should really fix the build pipeline here :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants