PHP 4.0 Bug #8638: PHP handles permission problems ungracefully rather than letting Apache do it

From: Date: Wed, 10 Jan 2001 15:31:13 +0000
Subject: PHP 4.0 Bug #8638: PHP handles permission problems ungracefully rather than letting Apache do it
Groups: php.dev 
Request: Send a blank email to php-dev+get-43696@lists.php.net to get a copy of this message
From: jon@serf.org 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

« previous php.dev (#43696) next »