[php-src] PR #16779: Add --enable-rtld-deepbind configure flag, disable it by default except for apache

From: Date: Wed, 13 Nov 2024 12:34:58 +0000
Subject: [php-src] PR #16779: Add --enable-rtld-deepbind configure flag, disable it by default except for apache
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-29620@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/16779 Author: danog This pull request adds an --enable-rtld-deepbind flag, which enables the use of RTLD_DEEPBIND for dlopen, and changes the default behavior of dlopen to use RTLD_DEEPBIND *only* when compiling the Apache SAPI. Re: https://github.com/php/php-src/issues/10670, https://github.com/php/php-src/pull/11094 This fixes compatibility with custom allocators like jemalloc on newer glibc versions, while still retaining the old DEEPBIND behavior for apache, which seems to have been the [reason why it was added](https://github.com/php/php-src/issues/10670#issuecomment-1503458109).

« previous php.git-pulls (#29620) next »