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