Warning: is_dir(): open_basedir restriction in effect. File(/oc) is not within the allowed path(s):

Looking at the corresponding code, these warnings seem “intentional”. I.e. there is code to check whether the directory /oc exists, and accommodate if it doesn’t.

Also, these are warnings, not errors, so all is fine.

I would just disable “Display Errors” in the PHP options and call it a day. This behavior seems normal and not destructive, so no reason to have PHP nag about it.

4 Likes