noveltech Posted February 8, 2005 Posted February 8, 2005 on earlier versions of cpanel...it was possible to Tweak security settings for base directories!? How do we do the above with ver cpanel 9.x? Purpose: Upon adding 3rd party php scripts, I am getting the below listed error messages. Warning: main(): open_basedir restriction in effect. File(/usr/local/cpanel/Cpanel/Accounting.php.inc) is not within the allowed path(s): (/home/concealed/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/concealed/public_html/3rd party/admin/hostingpackages.php on line 8 The support page for 3rd party scripts advises: =================BEGIN 1. Log into Cpanel, via WHM 2. Click on Tweak Security 3. Click on php open_basedir Tweak 4. Check the box next to each domain labeled "Exclude Protection". 5. That's it, you don't have to restart anything, the PHP file will automatically be updated. =================END I assume the php script is either looking in the wrong location or the location is protected. All feedback welcomed, thanks, nt Quote
TCH-Andy Posted February 8, 2005 Posted February 8, 2005 Hi, You will need to open a help desk ticket, and tell us the link to generate that error, we will then look at modifying the open_basedir for you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.