Skip to content

php_admin_value[extension] = ext.so in fpm config does not register module handlers #9921

Closed
@bwoebi

Description

@bwoebi

Description

Specifying php_admin_value[extension] = ext.so in fpm config will execute MINIT, then RINIT of a PHP module. But it won't execute RSHUTDOWN and post_deactivate handlers (as these aren't collected). Also it won't execute RINIT on any subsequent requests after the first one.

This might be acceptable in the case of dl() in CLI processes handling only one request, but in php-fpm it will just carry along.

This leads to all sorts of interesting misbehaviours.

PHP Version

PHP 5.4 - master

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions