View Single Post
Old 10th November 2012, 04:54
rbartz rbartz is offline
Join Date: Apr 2006
Posts: 80
Thanks: 9
Thanked 6 Times in 5 Posts
Default Storing Data Outside client#/web#/web

A number of programs such as moodle and gallery2 want data directory storage outside of the web/ directory for various reasons, but the open_basedir does not allow for that except in tmp/.

Is it safe to add the /var/www/clients/client*/web* directory to the open_basedir paths that are allowed? Perhaps we could add a /var/www/clients/client*/web*/data/ directory to templates and make it allowed just for this purpose?

I suppose that we could put these in the /var/www/clients/client*/web*/tmp directory but I am thinking some user might just think is is ok to clean that out once in a while...

Centos 6.3 OS and latest Apache, PHP, MYSQL using suEXEC and suPHP.

Thanks for all your help,

Reply With Quote
Sponsored Links