Hello,
I'm trying to include a PHP file from another account, same server.
domain1.com/abc.php includes the line below:
require('/var/www/vhosts/domain2.com/httpdocs/test/test.php');
but it fails due to PHP suEXEC is set to 'Yes':
...failed to open stream: Permission denied in...
What I am trying to achieve is to use a global PHP file which has some arrays and variables that will be used by multiple domains.
Incase an update is needed, I'll edit the test.php in domain2.com, and the changes will apply to multiple domains.
How can I do this without disabling suEXEC?
Thank you.
I'm trying to include a PHP file from another account, same server.
domain1.com/abc.php includes the line below:
require('/var/www/vhosts/domain2.com/httpdocs/test/test.php');
but it fails due to PHP suEXEC is set to 'Yes':
...failed to open stream: Permission denied in...
What I am trying to achieve is to use a global PHP file which has some arrays and variables that will be used by multiple domains.
Incase an update is needed, I'll edit the test.php in domain2.com, and the changes will apply to multiple domains.
How can I do this without disabling suEXEC?
Thank you.