#35264 [Fbk->Opn]: safe-mode errors with multiple include virtual requests
| From: | maddog2k at maddog2k dot net | Date: | Fri, 18 Nov 2005 11:42:27 +0000 |
| Subject: | #35264 [Fbk->Opn]: safe-mode errors with multiple include virtual requests | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88469@lists.php.net to get a copy of this message | ||
ID: 35264
User updated by: maddog2k at maddog2k dot net
Reported By: maddog2k at maddog2k dot net
-Status: Feedback
+Status: Open
Bug Type: Apache2 related
Operating System: Linux
PHP Version: 5CVS, 4CVS (2005-11-17) (snap)
New Comment:
Allrighty, this fixes most of the problems.
Thank you ! :)
However, still sometimes a problem when PHP is mixed with SSI, that
seems related to output_buffering. If I set output_buffering to a value
< 16384 on a specific site, Apache2 child segfaults (again). When I set
output_buffering = 0 or Off, no change.
In the scripts itself there is no output_buffering used at all.
Hopefully you can fix this too, as this worked again correctly with PHP
4.4.0 and below :)
Previous Comments:
------------------------------------------------------------------------
[2005-11-17 22:26:11] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Apache 2 patch was just applied and there is a good chance it will fix
the problem.
------------------------------------------------------------------------
[2005-11-17 17:07:16] maddog2k at maddog2k dot net
No, by the uid 1027.
All files & directories requested are owned by user 1027, not 3185.
3185 came falling out of the sky...
When I modify the file a bit, 3185 suddenly becomes for example UID
1307.
Apparantly it goes wrong somewhere with UID-checking, I guess it's
taking UID from a different process or so instead of the executing
process.
Like I said, it works when swapping the two <!--#include lines...
4.4.0 and below do not show this behaviour..
------------------------------------------------------------------------
[2005-11-17 16:56:49] iliaa@php.net
Is the HTML file owned by user with a UID of 3185?
------------------------------------------------------------------------
[2005-11-17 16:30:57] maddog2k at maddog2k dot net
Like I said :) the script DOES work when FIRST including the .php and
THEN the .html. All UID's are correct, cause otherwise the above
wouldn't work either.
For some reason there seems to be a UID mix-up when calling the .html
first to be included...
------------------------------------------------------------------------
[2005-11-17 16:15:15] sniper@php.net
There really is no bug here. If it didn't complain before, THAT was the
bug.
------------------------------------------------------------------------
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/35264
--
Edit this bug report at http://bugs.php.net/?id=35264&edit=1