ID: 11493
Updated by: sniper
Old-Status: Open
Status: Feedback
Bug Type: Scripting Engine problem
Operating system: 
PHP Version: 4.0.5
Assigned To: 

I just tried this, and it works for me just fine.
You don't need every single directory in include_path..
That was bullshit. I should have tested it immediately.

Can you add short script into this report that reproduces this?

Previous Comments:

[2001-06-15 08:55:39] [EMAIL PROTECTED]
Okay, I changed my include_path appropriately, and here is the new message I saw:

Warning: Failed opening '/usr/local/apache/htdocs/chat/httpd/index.html' for inclusion 
 in Unknown on line 0

I included every single directory possible within htdocs, chat, and httpd.  Chat being 
the only folder under htdocs, and httpd being the only one under chat.  As you can 
see, it is still having issues with the include path.  Any ideas on this?


[2001-06-14 17:11:00] [EMAIL PROTECTED]
You need to add every directory into the include_path.
This is how it works. Maybe it will be changed sometime.
But not in near future.


[2001-06-14 15:42:55] [EMAIL PROTECTED]
I am having problems with my include_path and auto_prepend_file in my php.ini file.  I 
configured PHP with the follow flags:

In my php.ini file, I have the two options set in this manner:

include_path = ".:/usr/local/apache/htdocs"

Now, if I view a webpage that sits in /usr/local/apache/htdocs, it opens just fine.  
It can find all the files to include and I have no issues.  But once I try to view a 
file that is located in a subdirectory of htdocs, for example, 
htdocs/chat/Install.html, I am given the following error through my browser:

Warning: Failed opening '/usr/local/apache/htdocs/chat/Install.html' for inclusion 
(include_path='.:/usr/local/apache/htdocs') in Unknown on line 0

It seems to me that it is having trouble finding any file located in a subdir of 
'htdocs'.  Is this a bug of PHP4.0.5?

I've tried experimenting to include the path of a few test subdirs with files in them 
into the include_path, but I still have the same error.  I'm not sure exactly what's 
going on here.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
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