Website hosted in Plesk displayed incorrectly or shows 503 Internal Server Error or showing the PHP warning: Failed to read session data: files




  • Avatar
    Soni Vimal

    I am suffering from the same issue and I use CentOs system. I cross check session.save_path through phpinfo(); it shows /var/lib/php/session.

    I rest the permissions for it but still the issue is active. please help me to resolve it. 


  • Avatar
    Bulat Tsydenov

    @Soni, check the permissions and ownership of the folder:

    # ls -ld /var/lib/php/session
    drwx-wx-wt 2 root root 4096 Nov 6 00:32 /var/lib/php/session

    Permission should be 1733

  • Avatar
    Justin Lnch

    Should it be session or sessions? In centos it is session. Above you have sessions?


  • Avatar
    Lev Iurev

    Hi @Justin Lnch,

    Ubuntu, Debian - /var/lib/php/sessions/

    CentOS - /var/lib/php/session/

  • Avatar

    Your answers here helps me, but i have added the directory given inside SFTP root not on the FTP and it resolved my issues. Thanks so much guys, i hope this input also helps others

  • Avatar


    I am using Suse 12, And there is /var/lib/php7 folder but no session folder is there so should i create a new session directory and set permission to 1733.

    Please help me.

Please sign in to leave a comment.

Have more questions? Submit a request