PHP open_basedir Tweak - Preventing Script From Working


Active Member
Mar 27, 2007
Hello everyone,

I bought a php script which was written to protect the folders of all the users created in the WHM.

Example: In WHM I have 5 accounts with users as domain1 (for, domain2 (for , domain3 (for, domain4 (for, and domain5 (for

The script I bought when I installed it in "" website, it will be able to protect all the folders (directories) of itself and of other domains on THE SAME server. for example this script can protect the directories of or

Before when I use the OLD WHM (don't remember the version), this script works well, but in the new
WHM 11.46.0 (build 17) , in the "Security Center" under "PHP open_basedir Tweak", I ticked the box "
"Enable php open_basedir Protection." , and I ticked the box "", "" , "" under "Exclude Protection" .

But it didn't work. I got this error message:

Select directory to protect

Warning: dir(/home/domain2/public_html/): failed to open dir: Permission denied in /home/domain1/public_html/scriptscontrol/selectfolders.php on line 74

Fatal error: Call to a member function read() on a non-object in /home/domain2/public_html/scriptcontrol/selectfolders.php on line 76

So, how should I fix this ? Please help !

Thank you very much !