Jump to content

Recommended Posts

Posted

I have a question about how to give ph / Apache the permission to write on external directories in the backup plugin.

I link here a screenshot of the error message I get when I try to create a backup in an external directory: https://imgur.com/a/D7YnE

I know how to give the permission to write on the server but not in external directories.

Posted

In PHP there is an option which defines which directories PHP is allowed to access:

open_basedir

 

http://php.net/manual/en/ini.core.php#ini.open-basedir

 

In your case it is most probably it who locks KVS backup plugin from accessing this path. You should check it in php.ini and adjust to include this path as well.

Also we do not officially support OS Windows, so hard to tell, PHP / Apache may have some other limitations or specifics there, which we are not aware.

  • 2 weeks later...
Posted

Thank you for you fast answer. If open_basedir is commented out (;open_basedir =) means it dowsn't allow any directory and I need to add like this: open_basedir = C:\Users\user\Desktop, right?

Posted

If you delete open_basedir option from php.ini it will mean that this limitation is fully disabled and PHP should be able to access any directories based on filesystem permissions. We are not sure for OS windows though, KVS does not support this OS based on its requirements.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...