Re: Problems with open_basedir

From: Date: Thu, 19 Oct 2006 14:59:04 +0000
Subject: Re: Problems with open_basedir
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-243347@lists.php.net to get a copy of this message
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.

« previous php.general (#243347) next »