Bug #17837 Updated: PHP 'handles' permission problems rather than letting Apache do it
| From: | negotiator at tweakers dot net | Date: | Wed, 19 Jun 2002 13:53:21 +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-11388@lists.php.net to get a copy of this message | ||
ID: 17837
Updated by: negotiator@tweakers.net
Reported By: acm@tweakers.net
Status: Open
Bug Type: Apache related
Operating System: Linux, various
PHP Version: 4.2.1
New Comment:
I'm experiencing exact the same problem in a Windows 2000 Server / IIS
5.0 environment.
Previous Comments:
------------------------------------------------------------------------
[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