summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_opcode.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-01-31 20:15:30 +0100
committerAnatol Belski <ab@php.net>2018-01-31 20:15:30 +0100
commit73eb5a78b9caa18d35624765f9b972c1ba48855d (patch)
tree038fe4184349d1f6c1b3c0ce103865f6e3e4637d /sapi/phpdbg/phpdbg_opcode.c
parent5feb53964fad1c483fc64fa5c40e0c3f7fcc9ed9 (diff)
downloadphp-git-73eb5a78b9caa18d35624765f9b972c1ba48855d.tar.gz
Fix race conditions with Apache vhost vs. per dir config
If the same php_value/php_flag is present in httpd.conf and .htaccess, the key is potentially shared between threads. Unfortunately we can't intern these keys using the current mechanism, because the MPM is setup before the SAPI module setup is even started. A more elegant way were to implement a kind of string pool for the thread safe Apache SAPI config directives with the mechanism similar to what is done for the SAPI setup now, but doing a separate management.
Diffstat (limited to 'sapi/phpdbg/phpdbg_opcode.c')
0 files changed, 0 insertions, 0 deletions