Bug #17837: PHP 'handles' permission problems rather than letting Apache do it

From: Date: Wed, 19 Jun 2002 13:49:44 +0000
Subject: Bug #17837: PHP 'handles' permission problems rather than letting Apache do it
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11386@lists.php.net to get a copy of this message
From: acm@tweakers.net Operating system: Linux, various PHP version: 4.2.1 PHP Bug Type: Apache related Bug description: PHP 'handles' permission problems rather than letting Apache do it The bug is the same as: http://bugs.php.net/bug.php?id=8638 But is still there in php-4.2.1 and 4.1.2 on various apache/linux platforms. Try this: Create a .php-file with chmod 644, open it in your browser. It'll work. chmod it to 000, and you'll give you a "Warning: Failed opening '/path/to/file.php' for inclusion (include_path='') in Unknown on line 0" Then try a .html-file, chmod 644, chmod 000 etc. Will give a nice 403 error message. -- Edit bug report at http://bugs.php.net/?id=17837&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17837&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17837&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17837&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17837&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17837&r=support Expected behavior: http://bugs.php.net/fix.php?id=17837&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17837&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17837&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17837&r=globals

« previous php.bugs (#11386) next »