how to read write outside of /home

john8889

New member
Joined
Oct 14, 2013
Messages
3
say i would need a domain which able to read/write some file outside of the folder

/home/username/domains/panel.mailmanual.com/public_html/thefolder

would like it to write in

/var/thefolder

is that possible?
 
Unable to write

nope, i was unable to write it. the upper level which can write is

/home/username/thefolder

if i create one here /home/thefolder it can not write.

do i need to disable basedir, if gonna write there?
 
Yes, you really need to disable basedir restrictions in PHP at least for the desired user in order to achieve what you want.
 
Disable open_basedir will be a security hole if your site is hacked. then the hacker can access to other places on your server.
 
Back
Top