[PHP-DEV] PHP 4.0 Bug #8638 Updated: PHP handles permission problems ungracefully rather than letting Apache do it From: cynic <email protected>
Date: 03/31/01

ID: 8638
Updated by: cynic
Reported By: jon <email protected>
Old-Status: Open
Status: Feedback
Bug Type: Apache related
Assigned To:
Comments:

Does it still happen? IIRC it was fixed.

Previous Comments:
---------------------------------------------------------------------------

[2001-01-10 10:31:13] jon <email protected>
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.

---------------------------------------------------------------------------

ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8638&edit=2

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>