[php-src] Issue #9921: php_admin_value[extension] = ext.so in fpm config does not register module handlers
| From: | bwoebi | Date: | Thu, 10 Nov 2022 13:10:47 +0000 |
| Subject: | [php-src] Issue #9921: php_admin_value[extension] = ext.so in fpm config does not register module handlers | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242784@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9921
Author: 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, but in php-fpm it will
just carry along.
This leads to all sorts of interesting misbehaviours.
### PHP Version
master
### Operating System
_No response_