R
rmiinc
Guest
This restriction is a default setting with servers using Plesk. The (open_basedir) restriction means your server is limiting our files to a specific folder and no file can be called outside of that folder. If a file within httpdocs tries to access a file in httpsdocs to make it secure we will get the (open_basedir) restriction message because you tried to pull a file outside of the folder you originated from.
To change this, we need to edit the open_basedir path for both the httpdocs and the httpsdocs folders. Once this is fixed correctly, files within both of these folders will be able to talk to each other without restriction. see below for example of how it should look:
For httpdocs, the current "open_basedir" setting within PHP is:
/home/httpd/vhosts/myWebsite.com/httpdocs:/tmp
It needs to be changed to:
/home/httpd/vhosts/myWebsite.com/:/tmp
can anyone lend some advice on how to do this?
Thanks.
To change this, we need to edit the open_basedir path for both the httpdocs and the httpsdocs folders. Once this is fixed correctly, files within both of these folders will be able to talk to each other without restriction. see below for example of how it should look:
For httpdocs, the current "open_basedir" setting within PHP is:
/home/httpd/vhosts/myWebsite.com/httpdocs:/tmp
It needs to be changed to:
/home/httpd/vhosts/myWebsite.com/:/tmp
can anyone lend some advice on how to do this?
Thanks.