• 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.

files outside the root

sjefjans

New Pleskian
I am trying to change the openbase_dir in the settings. I found out that I can use webspaceroot to set folders in the root. But what should I use to set a folder outside the httpdocs root folder? I want to place certain files containing passwords for example outside the httpdocs root.
Thanks!!
 
If I remember correctly,
{WEBSPACEROOT} is the /var/www/vhosts/domain.tld/
{DOCROOT} is /var/www/vhosts/domain.tld/httpdocs/

The default for open_basedir is {DOCROOT}:/tmp so changing that to {WEBSPACEROOT}:/tmp should do the trick.

But it sounds as though you already have? Check the created php.ini in /var/www/vhosts/domain.tld/etc (or is it conf?) to see exactly what's been added and you'll be able to tell what's happening more clearly and also phpinfo().

Does this make sense or have I got things backwards with the paths?
 
If I remember correctly,
{WEBSPACEROOT} is the /var/www/vhosts/domain.tld/
{DOCROOT} is /var/www/vhosts/domain.tld/httpdocs/

The default for open_basedir is {DOCROOT}:/tmp so changing that to {WEBSPACEROOT}:/tmp should do the trick.

But it sounds as though you already have? Check the created php.ini in /var/www/vhosts/domain.tld/etc (or is it conf?) to see exactly what's been added and you'll be able to tell what's happening more clearly and also phpinfo().

Does this make sense or have I got things backwards with the paths?

It does the trick. Thanks for directing me in the right direvtion.
 
Back
Top