ID:               41628
 User updated by:  manuel at mausz dot at
 Reported By:      manuel at mausz dot at
 Status:           Open
 Bug Type:         Apache related
 Operating System: Linux
 PHP Version:      4.4.7
 Assigned To:      scottmac
 New Comment:

Any progress on this?


Previous Comments:
------------------------------------------------------------------------

[2007-06-10 16:38:00] manuel at mausz dot at

Yep, exactly the same :)
But your cast from "HashTable *" to "HashTable *" isn't necessary.

------------------------------------------------------------------------

[2007-06-09 23:00:44] [EMAIL PROTECTED]

Never noticed your patches attached before I went and dealt with this,
your fix is identical to mine so I'll apply these patches on Monday
morning to all active branches.

------------------------------------------------------------------------

[2007-06-09 22:53:02] [EMAIL PROTECTED]

Can you try the patch at
http://server.macvicar.net/patches/php-bug113559.patch

It appears to work with the provided test case when php_admin_value
register_globals 1 is changed to php_admin_flag register_globals on

If you get no problems then I'll commit it at some point next week.

------------------------------------------------------------------------

[2007-06-08 15:53:08] manuel at mausz dot at

I've found the problem quite quickly after looking at the example
module shipped with apache.

Patches:
http://manuel.mausz.at/coding/patches/php/4.4.7/php4.4.7-apache-merge_dir.patch
http://manuel.mausz.at/coding/patches/php/5.2.3/php5.2.3-apache-merge_dir.patch

I think its pretty obvious what php was doing wrong here. But it's
funny that the apache2 integration is correct although it's mostly the
same api.

------------------------------------------------------------------------

[2007-06-07 21:32:41] [EMAIL PROTECTED]

I spent quite some time on a similar problem reproducible ONLY with
Apache 2.0 and it looked pretty much the same: Apache does not call the
handlers required to re-initialize the environment before processing the
request, so the environment is "inherited" from the previous request.
I really doubt it's PHP problem that Apache does not do its job
properly, but in the same time I'm not competent enough in Apache
internals, so I can't say I'm absolutely sure (just about 95%).
Your second post just confirms my conclusions.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/41628

-- 
Edit this bug report at http://bugs.php.net/?id=41628&edit=1

Reply via email to