Patrik Jansson wrote:
> Hello,
> I'm having some difficulties with open_basedir. If I include the prefix
> /home/web25637/ in open_basedir shouldn't it include every directory
> within this? We're getting this error:
> 
> Warning: file_exists() [function.file-exists]: open_basedir restriction
> in effect.
> File(/home/web25637/domains/abc.ssf.scout.se/public_html//components/com_sef/sef.php)
> is not within the allowed path(s):
> (/home/web25637/:/tmp/:/var/www/:/usr/local/lib/php/:/etc/virtual/:/var/uploads/:/var/squirrelmail)
> in /usr/home/web25637/domains/abc.ssf.scout.se/public_html/index.php on
> line 46
> 
> As you can se, the file is within the prefix which is listed in allowed
> paths. How could it be the case that we're experiencing open_basedir
> restriction here?

I ran into problems with openbase_dir when using symlinks... They only
really reared their ugly head when I upgraded to 5.1.6 before that they
were OK (tho' if memory serves I had to add both the symlink location
and the directory it pointed to.

Anyway, are symlinks to blame here?

Other than that I don't really know.

Col.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to