Bug #11493: Having issues include_path and auto_prepend_file
| From: | gpreston at ycp dot edu | Date: | Thu, 14 Jun 2001 19:42:56 +0000 |
| Subject: | Bug #11493: Having issues include_path and auto_prepend_file | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56796@lists.php.net to get a copy of this message | ||
From: gpreston@ycp.edu
Operating system: SunOS 5.7
PHP version: 4.0.5
PHP Bug Type: PHP options/info functions
Bug description: Having issues include_path and auto_prepend_file
I am having problems with my include_path and auto_prepend_file in my php.ini file. I configured
PHP with the follow flags:
--with-mysql
--with-apache=../apache_1.3.19
--with-tsrm-threads
--enable-yp
--enable-track-vars
In my php.ini file, I have the two options set in this manner:
auto_prepend_file="verifyuser.php"
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.
--
Edit Bug report at: http://bugs.php.net/?id=11493&edit=1