PHP 4.0 Bug #9967: Some .php filenames generate 'Failed opening ... for inclusion...' warning.
| From: | cd at main dot nc dot us | Date: | Sat, 24 Mar 2001 10:12:22 +0000 |
| Subject: | PHP 4.0 Bug #9967: Some .php filenames generate 'Failed opening ... for inclusion...' warning. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49870@lists.php.net to get a copy of this message | ||
From: cd@main.nc.us
Operating system: Linux
PHP version: 4.0 Latest CVS (24/03/2001)
PHP Bug Type: Scripting Engine problem
Bug description: Some .php filenames generate 'Failed opening ... for inclusion...'
warning.
The full warning is:
Warning: Failed opening '/home/cd/public_html/template.php'
for inclusion (include_path='.') in Unknown on line 0
I got this error with PHP 4.0.4pl1 and PHP 4.0.5-dev. The
file above, template.php, works fine if I name it 'asdf.php'
or 'index.php', but every other name I've tried generates
the warning. The content of the file doesn't matter. It
could be empty, HTML, PHP, or HTML/PHP.
The following is from phpinfo():
System
Linux phoboslab 2.4.2 #3 Thu Feb 22 06:37:04 EST 2001 i686
unknown
Build Date
Mar 24 2001
Configure Command
'./configure' '--with-mysql=/usr/local/mysql'
'--with-apxs=/usr/local/apache/bin/apxs'
Server API
Apache
Virtual Directory Support
disabled
Configuration File (php.ini) Path
/usr/local/lib/php.ini
ZEND_DEBUG
disabled
Thread Safety
disabled
--
Edit Bug report at: http://bugs.php.net/?id=9967&edit=1