Open Basedir Issue

[ad_1]
open basedir issue PHP Error Unknown: open_basedir restriction in effect. File is not within the allowed path(s)   The open_basedir function defines the paths from which PHP is allowed to access files using functions. If a file is outside of the paths defined by open_basdir, PHP will refuse to open it in shared web hosting. You can set open_basedir to none to remove this restriction.   open_basedir limits all I/O operations in userspace PHP to a certain configurable subset of the filesystem, in particular to a number of directories and their subdirectories How to fix this issue? Modify the open_basedir settings in your hosting account and set them to none. Find the open_basedir setting given under 'PHP Settings' area of your Plesk/cPanel. Set it to 'none' from the drop-down given there. I have shown them in the Plesk panel picture for Windows shared hosting. Kindly refer below steps to enable open_basedir  from cPanel, Which is the default control panel in our Linux shared hosting. Click on “Switch to PHP Options”. Click on save
[ad_2]