Starting on October 19, 2021, we will enable single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
To be prepared for this change and to avoid the need to register during your next ticket submission after the change, we encourage you to create an account here before October 19 using the same email address as your current Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account. You will continue to use ZenDesk authentication until we switch over to single-sign-on on October 19th.

A website hosted in Plesk is not accessible: open_basedir restriction in effect

Follow

Comments

9 comments

  • Avatar
    Kingsley Felix

    Does not seem to work

    1
    Comment actions Permalink
  • Avatar
    Bulat Tsydenov

    @Kingsley Felix
    Hi,
    What error do you have? and what exactly are you trying to do to fix it?

    0
    Comment actions Permalink
  • Avatar
    Nagy Bela

    Hi not work for me.

    New error:

    Message: is_dir(): open_basedir restriction in effect. File(/var/lib/php/sessions) is not within the allowed path(s): (/var/www/vhosts/hdszex.hu/:/tmp/:/var/lib/php/session)

     

    Message: mkdir(): open_basedir restriction in effect. File(/var/lib/php/sessions) is not within the allowed path(s): (/var/www/vhosts/hdszex.hu/:/tmp/:/var/lib/php/session)

    0
    Comment actions Permalink
  • Avatar
    Nagy Bela

    The problem with the chmod session path, I change 777 and now work.

    0
    Comment actions Permalink
  • Avatar
    MAXsi Jaya

    I have followed the guidelines but the problem persists. please help me

     

    forum thread: https://talk.plesk.com/threads/error-help-open_basedir-restriction-in-effect-file-var-lib-php-sessions-is-not-within-the-allowed-path-s.355992/#post-875505

     

    1
    Comment actions Permalink
  • Avatar
    Alexey Lapshin (Edited )

    Hello @Nagy Bela

    Glad to hear that the issue resolved on your own. The default permissions for /var/lib/php/sessions are 733

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello MAXsi Jaya!

    Please, correct me if I'm wrong but as I understand, the issue is resolved at the forum.

    0
    Comment actions Permalink
  • Avatar
    Abhishek Savner (Edited )

    @Bulat Tsydenov

    Hi,

    I have follow all above setting but still it is showing open_basedir restriction.

    PHP Warning: opendir(): open_basedir restriction in effect. File(C:\ZFT\) is not within the allowed path(s):

    0
    Comment actions Permalink
  • Avatar
    Anzhelika Khapaknysh

    @Abhishek Savner,

    I'd recommend contacting our Support Team, so they may check the issue thoroughly. 

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request