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

From: Date: Wed, 24 Jul 2002 11:29:36 +0000
Subject: Bug #17837 Updated: PHP 'handles' permission problems rather than letting Apache do it
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15036@lists.php.net to get a copy of this message
ID: 17837 Updated by: hholzgra@php.net Reported By: acm@tweakers.net -Status: Open +Status: Won't fix Bug Type: Apache related Operating System: Linux, various PHP Version: 4.2.1 New Comment: expected behavior Previous Comments: ------------------------------------------------------------------------ [2002-06-19 09:53:20] negotiator@tweakers.net I'm experiencing exact the same problem in a Windows 2000 Server / IIS 5.0 environment. ------------------------------------------------------------------------ [2002-06-19 09:49:43] acm@tweakers.net 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 this bug report at http://bugs.php.net/?id=17837&edit=1

« previous php.bugs (#15036) next »