How can I create an include path (folder) for all my subdomains

bigbrotherr
edited November -1 in General Discussions

I have been trying to include a .php file from a main domain, but the result I get is these:

Warning: require(): open_basedir restriction in effect. File(/home/vol2_4/ezyro.com/ezyro_21398577/b2base.net/htdocs/libs/php/main_require.js.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol2_4/ezyro.com/ezyro_21398577/connect-home.b2base.net/htdocs) in /home/vol2_4/ezyro.com/ezyro_21398577/connect-home.b2base.net/htdocs/require.js.php on line 4

Warning: require(/home/vol2_4/ezyro.com/ezyro_21398577/b2base.net/htdocs/libs/php/main_require.js.php): failed to open stream: Operation not permitted in /home/vol2_4/ezyro.com/ezyro_21398577/connect-home.b2base.net/htdocs/require.js.php on line 4

Warning: require(): open_basedir restriction in effect. File(/home/vol2_4/ezyro.com/ezyro_21398577/b2base.net/htdocs/libs/php/main_require.js.php) is not within the allowed path(s): (/php_sessions:/tmp:/var/www/errors:/usr/share/pear:/home/vol2_4/ezyro.com/ezyro_21398577/connect-home.b2base.net/htdocs) in /home/vol2_4/ezyro.com/ezyro_21398577/connect-home.b2base.net/htdocs/require.js.php on line 4

Warning: require(/home/vol2_4/ezyro.com/ezyro_21398577/b2base.net/htdocs/libs/php/main_require.js.php): failed to open stream: Operation not permitted in /home/vol2_4/ezyro.com/ezyro_21398577/connect-home.b2base.net/htdocs/require.js.php on line 4

Fatal error: require(): Failed opening required 'main_require.js.php' (include_path='/home/vol2_4/ezyro.com/ezyro_21398577/connect-home.b2base.net/htdocs/../../b2base.net/htdocs/libs/php') in /home/vol2_4/ezyro.com/ezyro_21398577/connect-home.b2base.net/htdocs/require.js.php on line 4

I don't want to duplicate the files for each of the sub-domains, but actually, I don't know if this is possible here or I am not doing something right.

Guys, and admin thanks in advance for your help: