How to add custom or additional path to the open_basedir option for Plesk domain

Started by Suhitha, Mar 06, 2026, 06:01 AM

Previous topic - Next topic

Suhitha

Applicable to:

  • Plesk Onyx for Linux
  • Plesk Onyx for Windows


Question

How to add custom or additional path to open_basedir option for Plesk domain?


Answer

1.Log into Plesk

2.Go to Domains > example.com > PHP Settings

3.Define the custom path:

For Linux:

{WEBSPACEROOT}{/}{:}{TMP}{/}{:}/example/path
For Windows:

{WEBSPACEROOT}{/}{:}{TMP}{/}{;}C:\example\path
Note: specify actual custom path instead of examples. It is possible to append several paths.

4.Press OK to apply the settings