[axxs-sysadmin] openbase_dir php error
Cameron Gregg
cam at earthanarchy.org
Sat May 6 00:01:21 PDT 2006
Cameron Gregg wrote:
I overcame this by putting drupal back in the httpdocs dir. Means using
a shared drupal codebase will present the same issues. but having a
seperate install for each site isn't all bad.
Cam
> ok, this gets a bit spaghetti like, but bear with me.
>
> when setting up drupal you have to define an uploads directory.
>
> The directory I set is
> /home/httpd/vhosts/axxs.org/subdomains/arafura/uploads
>
> which is symlinked from
>
> /home/httpd/vhosts/axxs.org/subdomains/arafura/drupal/drupal-4.6.6/files/arafura
>
> FYI:
> /home/httpd/vhosts/axxs.org/subdomains/arafura/httpdocs
> is symlinked to
> /home/httpd/vhosts/axxs.org/subdomains/arafura/drupal/drupal-4.6.6
>
> this all makes it easier to migrate from one drupal version to another.
>
> anyway, i get the following warning when in the drupal settings page.
>
> warning: mkdir(): open_basedir restriction in effect.
> File(files/arafura) is not within the allowed path(s):
> (/home/httpd/vhosts/axxs.org/subdomains/arafura/httpdocs:/tmp) in
> /home/httpd/vhosts/axxs.org/subdomains/arafura/drupal/drupal-4.6.6/includes/file.inc
> on line 86.
>
>
> I tried altering open_basedir path in the vhost.conf like so:
>
> php_value open_basedir
> /home/httpd/vhosts/axxs.org/subdomains/arafura/httpdocs:/tmp:/home/httpd/vhosts/axxs.org/subdomains/arafura/uploads
>
> but it hasnt taken effect, as shown in the error message. I did the
> following command after making changes to vhost.conf
>
> /usr/local/psa/admin/sbin/websrvmng -a -v
>
>
> are these values non-overridable in the php setup?
>
> have i just made a typo fuckup?
>
> any ideas???
>
> thanks
>
> Cam
>
More information about the axxs-sysadmin
mailing list