Jump to content

Recommended Posts

Posted

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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...