[BlueOnyx:01564] Re: how to allow php to modify files in other virtual sites than the current

Florian Arzberger arzberger at maxxnet.de
Thu Jul 2 10:45:02 -05 2009


> -----Ursprüngliche Nachricht-----
> Von: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it]
> Im Auftrag von Florian Arzberger
> Gesendet: Donnerstag, 2. Juli 2009 17:32
> An: 'BlueOnyx General Mailing List'
> Betreff: [BlueOnyx:01563] how to allow php to modify files in other
> virtual sites than the current
> 
> hi,
> 
> i'm trying to access (copy,...) files from within other vsites on the
> same
> bo server. i turned safe mode off and added /home/ to the open_basedir
> variable. i still get "open_basedir restriction in effect" warnings in
> the
> error log though. how can I completely turn this off?
> 
> i am a bit confused as to how the "main" php settings co-exist with the
> site-specific settings anyway. do the site-specific settings overrule
> the
> general settings?
> 

i added "/home" to the variable, not "/home/" - still, i get
"open_basedir restriction in effect. File(/www/xxx/web/data/xxx/yyy.xml) is
not within the allowed path(s): (/home:/www:/home/.sites/xxx/sitex/)"

which I find rather confusing, because everything below /www and /home
should be allowed. (/www is just a comfortable symlink to /home/sites)





More information about the Blueonyx mailing list