Re: Problems with open_basedir

From: Date: Fri, 20 Oct 2006 08:04:49 +0000
Subject: Re: Problems with open_basedir
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-243378@lists.php.net to get a copy of this message
Chris skrev:
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)
The // might cause a problem, if you fix that does it work? The // does not cause the problem. This was a bad example, it has appeared several times
without the //. Like Colin said, this might have to do with the symlink, the files lies within /usr/home but the open_basedir uses /home which is a symbolic link for /usr/home. I will try it out today.

« previous php.general (#243378) next »