Title: Doesn&#8217;t work with open_basedir enabled
Last modified: June 27, 2018

---

# Doesn’t work with open_basedir enabled

 *  Resolved [mscott](https://wordpress.org/support/users/mscott/)
 * (@mscott)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-open_basedir-enabled/)
 * This plugin won’t work if open_basedir is defined. Even if open_basedir is defined
   correctly for the account.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-open_basedir-enabled/#post-10440969)
 * Hey [@mscott](https://wordpress.org/support/users/mscott/),
 * There are some details about that setting here:
 *     – What is PHP Open Base Dir or “open_basedir restriction in effect”?
       –
   [https://snapcreek.com/duplicator/docs/faqs-tech/#faq-trouble-065-q](https://snapcreek.com/duplicator/docs/faqs-tech/#faq-trouble-065-q)
 * If that still doesn’t work you might contact your host and see if they have any
   other settings setup that prevents PHP from working normally. We have seen on
   several other hosts that setting enabled and the plugin still works without issues.
 * Thxs
 *  Thread Starter [mscott](https://wordpress.org/support/users/mscott/)
 * (@mscott)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-open_basedir-enabled/#post-10441154)
 * What other settings would there be that would prevent PHP from working normally?
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-open_basedir-enabled/#post-10445079)
 * Its tough to tell some hosts can use other tools like suhosin or built there 
   own custom security filters around open_base dir. The only way to know would 
   be to ask. The plugin works well on hundreds of hosts, so there seems to be something
   specific on this host that is blocking the plugin from working.
 * Hope that helps~
 *  Thread Starter [mscott](https://wordpress.org/support/users/mscott/)
 * (@mscott)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-open_basedir-enabled/#post-10445135)
 * Why does open_basedir conflict with this plugin? What is it trying to do that
   requires lax security?
 * No other scripts or plugins require this much scrutiny with open_basedir.
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-open_basedir-enabled/#post-10445551)
 * Hi [@mscott](https://wordpress.org/support/users/mscott/),
 * You will need to contact your host and ask them how they are using it. The plugin
   conflicts with open_basedir if your host restricts access to files that the plugin
   is trying to backup. Its like if you try to zip a file on your local computer
   and one of the files can’t be read by your zip utility because of permission 
   restriction.
 * The plugin isn’t doing anything that requires lax security. Your host has set
   up your environment is such a way that the PHP user process being used does not
   have access to zipping up the files it needs to create a package. Its a pretty
   uncommon situation but there are some hosts that choose to secure this way vs
   more modern security techniques.
 * You can see more details about the directive here:
    [http://php.net/manual/en/ini.core.php#ini.open-basedir](http://php.net/manual/en/ini.core.php#ini.open-basedir)
 * Hope that helps~
 *  Thread Starter [mscott](https://wordpress.org/support/users/mscott/)
 * (@mscott)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-open_basedir-enabled/#post-10445603)
 * Actually I am the host. And I have no idea why an account would need to be accessing
   outside of it’s user area and that user area is being defined in open_basedir.
 * It actually looks like the plugin is just checking to see if open_basedir is 
   set and if it is, it’s making a fuss.
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-open_basedir-enabled/#post-10445674)
 * Yes, that is correct per the message:
 * > Issues might occur when [open_basedir] is enabled. Work with your server admin
   > to disable this value in the php.ini file **if you’re having issues** building
   > a package
 * Also, note that the scanner states the following:
 * > Scan checks are not required to pass, however, they could cause issues on some
   > systems. Please review the details for each section by clicking on the detail
   > title.
 * Scan checks are not required they are simply notices should users run into issues
   with a build.
 * The plugin doesn’t access outside of the users WP site. It simply reads the WP
   var ABSPATH which returns the path at which the WP site is hosted.
 * Are you having troubles creating a package?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Doesn’t work with open_basedir enabled’ is closed to new replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-open_basedir-enabled/#post-10445674)
 * Status: resolved