#18721 [Fbk->NoF]: open_basedir complained when a non existent path is specified in include_path
| From: | sniper@php.net | Date: | Mon, 21 Oct 2002 04:17:54 +0000 |
| Subject: | #18721 [Fbk->NoF]: open_basedir complained when a non existent path is specified in include_path | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22910@lists.php.net to get a copy of this message | ||
ID: 18721
Updated by: sniper@php.net
Reported By: jimmy@harlindong.com
-Status: Feedback
+Status: No Feedback
Bug Type: PHP options/info functions
Operating System: FreeBSD 4.6
PHP Version: 4.2.2
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2002-10-04 11:19:13] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-08-03 04:52:09] jimmy@harlindong.com
As the title says, when there is a non existent path specified in
include_path, activating open_basedir will generate the warning
Warning: open_basedir restriction in effect. File is in wrong directory
in "xxxxxx.php" on line XX
This warning will not appear if the invalid path does not start with a
slash.
e.g. include_path = ".:asdf/asdf:/usr/local/lib/php" will not produce
warning when open_basedir is enabled but will produce warning when
include_path = ".:/asdf/asdf:/usr/local/lib/php"
note the /asdf/asdf is the non-existent path.
I understand that by removing the non-existent path, the error will be
gone, however I think the warning should not have appeared especially
when it complains about open_basedir and not about the include_path
itself which will cause confusion.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18721&edit=1