[BlueOnyx:01578] Re: how to allow php to modify files in other virtual sites than the current
Michael Stauber
mstauber at blueonyx.it
Fri Jul 3 04:19:26 -05 2009
Hi Florian,
> i understand that and am aware of the risks, but i still want/need to do it
> on customer request (it's not a shared server). so you are saying it is not
> possible to generally disable open_basedir? what would i have to do to
> achieve this? compile my own php version?
The solution was already mentioned in my previous post:
The only way around it (at the moment and for the time being) is to manually
edit /etc/httpd/conf/vhosts/siteX and to adjust the open_basedir line in
there. But of course changing the web settings for that site through the GUI
may then overwrite your changes.
Alternatively you could create a directory on a separate partition and use
that one for such content that's shared between sites. Like "/var/sharedweb"
and then add that to the open_basedir line.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list