• Resolved amitmey

    (@amitmey)


    hi,
    i am using along time your amazing plugin. i moved to VPS on plesk, and i am getting that error message:
    PHP event: code E_WARNING: is_dir(): open_basedir restriction in effect. File(/usr/local/cpanel) is not within the allowed path(s): (/var/www/vhosts/xxxxx.co.il/:/tmp/) (line 402, wp-content/plugins/updraftplus/class-updraftplus.php) (aug 30 22:08:29)

    if i change the basedir to “none” its working, but its not security thing, i dont know what is the path to add there in the php setting.
    maybe you can advice?
    BR
    Amit

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor bcrodua

    (@bcrodua)

    Hi Amit,

    If you have cPanel, you can change the settings there.

    Modify the open_basedir settings in your hosting account and set them to none. Find the open_basedir setting given under ‘PHP Settings’ area of your Plesk/cPanel. Set it to ‘none’ from the dropdown given there.

    You can also Edit the php.ini file, or .user.ini that is located within the main directory of your site and add this line:
    open_basedir = none

    Thanks,
    Bryle

    Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    N.B. PHP events are not errors unless they are marked E_ERROR. This particular one is just an inevitable logging event based on how the server is configured, and will not cause any actual problem (it’s related to an attempt to see if cPanel is present and can give a quota report – but cPanel isn’t present anyway). You can safely ignore it.

    Thread Starter amitmey

    (@amitmey)

    hi,
    thanks a lot.
    i am using plesk, but i understand and i change open_basedir = none and everything perfect now.

    BR
    Amit

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘error after move to VPS’ is closed to new replies.