There are two ways to disable open_basedir restriction in php.
Site wide
*******
Open your php.ini and look for the open_basedir line and comment it.
Save your php.ini changes and restart your web server
By specific site
***********
This configuration works only on apache web servers.
Open your apache web server’s configuration file (httpd.conf) and at the bottom type this line.
php_admin_value open_basedir “none”
Save and restart your apache web server.
service httpd restart
Hope this helps..
