ID: 40425 Updated by: [EMAIL PROTECTED] Reported By: priappub at yahoo dot fr -Status: Open +Status: Feedback Bug Type: Safe Mode/open_basedir Operating System: Solaris 10 PHP Version: 5.2.1 New Comment:
Cannot reproduce. Please provide an account on this machine. Previous Comments: ------------------------------------------------------------------------ [2007-02-10 00:44:39] priappub at yahoo dot fr Description: ------------ On solaris 10 (update 3) on sparc with PHP 5.1.6 or 5.1.2, safe mode doesn't work. I have the message: SAFE MODE Restriction in effect. The script whose uid/gid is 1/10076 is not allowed to access /sites/toto.php owned by uid/gid 10076/1000 in Unknown on line 0 The script and the directory have the same UID/GID. It seems like in safe_mode.c, php-getuid() always returns 1 and php_getgid() returns the UID. NB: same bug as http://bugs.php.net/bug.php?id=7744 or http://bugs.php.net/bug.php?id=18500 (they are old and for PHP4) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40425&edit=1
