summaryrefslogtreecommitdiff
path: root/ext/spl/examples/autoload.inc
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-01-31 20:15:30 +0100
committerAnatol Belski <ab@php.net>2018-02-01 15:24:31 +0100
commitbced074124f65653071ccf29e0878ef725b09a49 (patch)
tree947e4209c826b56081caab942164ef9dfe298fa3 /ext/spl/examples/autoload.inc
parentfe2ac52d508a450f8f7dea3f63e3b4763d1bd7e0 (diff)
downloadphp-git-bced074124f65653071ccf29e0878ef725b09a49.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. (cherry picked from commit 73eb5a78b9caa18d35624765f9b972c1ba48855d)
Diffstat (limited to 'ext/spl/examples/autoload.inc')
0 files changed, 0 insertions, 0 deletions