From:             [EMAIL PROTECTED]
Operating system: Linux 2.2.17
PHP version:      4.0.3pl1
PHP Bug Type:     Apache related
Bug description:  PHP handles permission problems ungracefully rather than letting 
Apache do it

I'm using Apache 1.3 with the config line:
AddType application/x-httpd-php php
When the permissions on any .php file are not set correctly for Apache to read them, 
the error:
Warning: Failed opening '/path/to/page.php' for inclusion 
(include_path='/path/to/phplib') in Unknown on line 0
appears.
The same problem still occurs with include_path='.:/path/to/phplib' in php.ini.
This is user-hostile - what ought to happen would be that Apache's normal 403 error 
mechanism should be invoked.



-- 
Edit Bug report at: http://bugs.php.net/?id=8638&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to