ID: 37720 User updated by: pumuckel at metropolis dot de Reported By: pumuckel at metropolis dot de -Status: Feedback +Status: Open -Bug Type: Apache related +Bug Type: Apache2 related Operating System: Linux PHP Version: 5.1.4 New Comment:
First, this is apache2 related, i have modified bug category appropriate. Second: A testcase is located at http://www.metropolis-ag.de/downloads/bug37720.tgz Please read the README file within this archive, which explains steps to reproduce the bug. Also attached in the README is a possible (but incomplete) patch for 5.1.4. Please contact me via email if you have any questions / need to discuss things. Previous Comments: ------------------------------------------------------------------------ [2006-06-06 22:16:02] [EMAIL PROTECTED] >I can provide a testcase configuration on request. Please upload it somewhere and put the link here. >Configuration is mixed occasionally. It'd be good to have a couple of examples. ------------------------------------------------------------------------ [2006-06-06 22:05:30] pumuckel at metropolis dot de Description: ------------ When using DirectoryMatch in httpd.conf / .htaccess and virtualHost entries, then php_values inside those directives get scrambled. The reason seems likely to be that in merge_php_config the new_conf parameter gets modified even this is strictly forbidden by apache2 api! Solution: Make a copy of new_conf (with proper hash initialization) and return a pointer to the new copy. Reproduce code: --------------- I can provide a testcase configuration on request. Expected result: ---------------- The configuration parameters should be as configured. Actual result: -------------- Configuration is mixed occasionally. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37720&edit=1