ID: 19292 Comment by: webmaster at infotel dot it Reported By: tnowak at triger dot com dot pl Status: No Feedback Bug Type: Apache related Operating System: linux PHP Version: 4.2.3,4.3.0 New Comment:
i've the same problem, my solution, remove the "/usr/lib/php" from "include_path" or add it in "open_basedir": in php.ini: include_path = runtime: include_path = ".:/usr/lib/php:/var/www/htdocs/mylibs" open_basedir = "/var/www/htdocs:/tmp" i'm in: /var/www/htdocs/mydir/myscript.php my include: include('mylib.inc'); the script work, but i'have a warning when the php try access in the "/usr/lib/php" directory, because that dir isn't in "open_basedir" Previous Comments: ------------------------------------------------------------------------ [2003-03-09 18:40:39] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2003-03-09 17:38:47] email at futureweb dot at to the previous comment, i overread it, sorry, php_admin_value open_basedir none did the trick. thanks ------------------------------------------------------------------------ [2003-03-09 17:17:34] email at futureweb dot at we have the same problem and figured out the following: if it is set to: php_admin_value open_basedir / it gives errors, also for instance php_admin_value open_basedir /etc but not for php_admin_value open_basedir /home/ or the user directory... what lets me wonder what criteria causes this? where would we need to add other directories. we use a server config software which automatically sets the open_basedir to the users directory, so we used so far php_admin_value open_basedir / to eliminate it for specific costumers where needed. anything we could do? ------------------------------------------------------------------------ [2003-03-02 21:54:58] kaspars at fabrika dot lv Please see bug http://bugs.php.net/bug.php?id=22480, as this seems to be connected somewhat, but more critical (php source disclosure). ------------------------------------------------------------------------ [2003-02-23 16:39:30] [EMAIL PROTECTED] [david at ols dot es] submitted some patches which supposedly fix some of the issues, so please try the latest snapshot from today. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19292 -- Edit this bug report at http://bugs.php.net/?id=19292&edit=1