open_basedir restriction and local value for php.ini
| From: | Bogdan Ribic | Date: | Wed, 22 Sep 2004 09:59:16 +0000 |
| Subject: | open_basedir restriction and local value for php.ini | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197539@lists.php.net to get a copy of this message | ||
Hello all,
I am having problems with cleint's webserver and its open_basedir settings. open_basedir is set to folder where all my php files are, but when I include a file that already includes another one (all under allowed directory tree) it throws out warnings:
Warning: open_basedir restriction in effect. File is in wrong directory in /home/www/web14/html/lib/cmember.php on line 3
line 3 of cmember,php has:
require_once "lib.php"
both cmember and php are in lib directory.
phpinfo() says that local settings for open_basedir is
/home/www/web14
and master settings is empty. It is an older php version, 4.2.2, on SuSe Linux.
So... is there anything I can do other than turning off local setting for open_basdir. And if there isn't, where do I turn off these settings, ie where do you set lolal php.ini values for particular sites?
Thanx in advance.
Boban.
--
Please reply to the list and not to my email directly.
I use usenet server and do not check yahoo email account.