• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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