From:             [EMAIL PROTECTED]
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



-- 
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