fanatique
Jan 5th 2006, 4:13 am
hello everybody,
i've got a problem that drives me nuts. trying to exceute mkdir() returns the following error message:
Warning: mkdir(): open_basedir restriction in effect. File(/var/www/virtual/xxx/dev/htdocs/osp/output/brbr)
is not within the allowed path(s): (/home/virtual/xxx/dev/:/usr/share/php/:/tmp/:/var/www/virtual/xxx/dev/htdocs/osp/output/)
in /home/virtual/xxx/dev/htdocs/brbr.php on line 2
the strange thing is that both the php file and the directory i'm trying to create are within that path.
any hint or idea would be highly appreciated! thank you.
some additional facts:
it's my own dedicated server running php 4.3, apache 2, vhcs 2.4 (software for administration).
phpinfo() returns the right paths as open_basedir
the folder virtual is placed in /home. /var/www/virtual is nothing but a SymLink. the FollowSymLink option is activated for the VirtualHost and it's working fine as other scripts are running perfectly.
i've got a problem that drives me nuts. trying to exceute mkdir() returns the following error message:
Warning: mkdir(): open_basedir restriction in effect. File(/var/www/virtual/xxx/dev/htdocs/osp/output/brbr)
is not within the allowed path(s): (/home/virtual/xxx/dev/:/usr/share/php/:/tmp/:/var/www/virtual/xxx/dev/htdocs/osp/output/)
in /home/virtual/xxx/dev/htdocs/brbr.php on line 2
the strange thing is that both the php file and the directory i'm trying to create are within that path.
any hint or idea would be highly appreciated! thank you.
some additional facts:
it's my own dedicated server running php 4.3, apache 2, vhcs 2.4 (software for administration).
phpinfo() returns the right paths as open_basedir
the folder virtual is placed in /home. /var/www/virtual is nothing but a SymLink. the FollowSymLink option is activated for the VirtualHost and it's working fine as other scripts are running perfectly.