• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

How do I add a path to the open_basedir in Plesk for all domains?

BigBlock

New Pleskian
As the title says, how do I add a path to the open_basedir in Plesk for all domains?

I have to change the open_basedir value for all domains from:

Code:
{DOCROOT}/:/tmp/

to:

Code:
{DOCROOT}/:/tmp/:/var/www/vhosts/{DOMAIN?}/

I know where to do it, I just don't know what the variable is for the parent of {DOCROOT}, I did find & try {webspaceroot}/:/tmp/ but it does not work [even after 'reconfiguring the domain and restart/reload apache]
 
Hi BigBlock,

Sorry, this is not possible on Plesk 10.x

In order to do this, you should upgrade to Plesk 11.09. There is a new variable for PHP open_basedir there: {WEBSPACEROOT}
 
Back
Top