I post this in General but without response as yet. Hopefully this will be a better location for this topic...

I have a new server that I am trying to work out various bugs on. Several of my gallery apps are giving me "open_basedir" errors for running scripts outside the area designated by these lines in my httpd.include file:

<IfModule mod_php4.c>
php_admin_flag engine on
php_admin_value open_basedir "/home/httpd/vhosts/domain.com/httpdocs:/tmp"
</IfModule>

I have done some searching and this seems to be tied to safemode being turned on. But I checked my info.php and safemode is off. Do I need this setting then?

Does anyone know a fix for this scenario?

Thanks,
Jim

    4 days later

    Jim,

    As you posted, the following line is part of your apache configuration:

    php_admin_value open_basedir "/home/httpd/vhosts/domain.com/httpdocs:/tmp"

    Safe mode may very well be off, but defining a basedir will restrict execution of files to the specified root(s).

    Did I misunderstand the issue here?

    -m.

      Write a Reply...