#35264 [Opn->Fbk]: safe-mode errors with multiple include virtual requests

From: Date: Thu, 17 Nov 2005 15:56:50 +0000
Subject: #35264 [Opn->Fbk]: safe-mode errors with multiple include virtual requests
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-88418@lists.php.net to get a copy of this message
ID: 35264 Updated by: iliaa@php.net Reported By: maddog2k at maddog2k dot net -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: Linux PHP Version: 5CVS, 4CVS (2005-11-17) (snap) New Comment: Is the HTML file owned by user with a UID of 3185? Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2005-11-17 16:14:36] sniper@php.net Then turn off the safe-mode? Or make sure the script is owned by correct user id. ------------------------------------------------------------------------ [2005-11-17 16:00:29] maddog2k at maddog2k dot net (Nevermind the different path shown in the output, it's a 2nd test-site) ------------------------------------------------------------------------ [2005-11-17 15:58:22] maddog2k at maddog2k dot net No segfault (as of yet), but still the safe mode errors show, that aren't there in <= 4.4.0 This is snapshot php5-200511171330 Warning: Unknown: SAFE MODE Restriction in effect. The script whose uid is 3185 is not allowed to access /opt/guide/www.deventerijsclub.nl/HTML/content/langebaan/uitslagen/t1.php owned by uid 1027 in Unknown on line 0 Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0 Warning: Unknown: Failed opening '/opt/guide/www.deventerijsclub.nl/HTML/content/langebaan/uitslagen/t1.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in Unknown on line 0 ------------------------------------------------------------------------ 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

« previous php.bugs (#88418) next »