• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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