Skip to content

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

Closed

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

Activity

  1. added a commit that references this issue on Nov 10, 2022
  2. added a commit that references this issue on Nov 14, 2022
  3. added 2 commits that reference this issue on Nov 2, 2023
    48a8974
    a8c6c61
  4. self-assigned this
    on Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions