Hi all,
I wanted to ask this here so I could learn it future reference if I decided to add more cpanel accounts to my VPS.
Currently I have 2 sites (one is almost finished and the other I have just started preparing) and have now just run into a little problem with setting the Open_basedir and Upload_tmp_dir locations.
Before starting the second site it wasn't an issue because I could just set the location via the global php.ini, and I don't want to use local php.ini and have disallowed this anyway during setting up my VPS.
So my question is how do I go about setting up the locations for Open_basedir and Upload_tmp_dir?
From what I understand there is coding that needs placing in the virtual_host area of site in the httpd.conf but editing this directly will mean any changes are lost when whm is updating nightly.
Can I use the whm includes editor and if so which one would it be (main, pre or post virtual host and want is the actually code that would need to be placed in there?
Have looked through Google but can't find any clear and simple answers, so any help is very much appreciated
Tom


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks