Articles in this section

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

kb: how-to ABT: Group A

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:

    CONFIG_TEXT: {WEBSPACEROOT}{/}{:}{TMP}{/}{:}/example/path

    For Windows:

    CONFIG_TEXT: {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

Additional information

How to change/customize PHP settings?

Was this article helpful?

Comments

1 comment
Date Votes
  • Invalid INI syntax detected on line 1: '{WEBSPACEROOT}{/}{:}{TMP}{/}{:}/var/www/vhosts/welfabmachine.xyz/httpdocs/components/com_contactenhanced/uploadedfiles'

    0

Please sign in to leave a comment.