Overview
The session.save_path directive in PHP defines the directory where session data files are stored on the server. By default, Plesk hosting environments configure a secure, system-level directory for PHP sessions.
However, certain web applications, custom scripts, or specific CMS configurations may require modifying the session.save_path location to clear permission errors, isolate session storage, or resolve PHP session timeout issues.
Because modifying the PHP session path requires server-level directory permission updates and environment configuration checks, changing this setting requires live support assistance.
Why Is Live Support Required?
Modifying the session.save_path setting cannot be fully self-served via standard PHP settings panels due to system environment rules:
Directory Permissions: The target directory must have exact web server user ownership (such as
sysuser:psacln) and correct read/write filesystem permissions (700or755). If configured incorrectly via customphp.inidirectives, PHP will fail to write session files, resulting in500 Internal Server Errorresponses or website login loops.Open_basedir Restrictions: Plesk enforces strict security via the
open_basedirdirective. Any custom path specified insession.save_pathmust also be explicitly added to your domain's allowedopen_basedirpath list by a server administrator.
How to Request a Custom PHP Session Path
To request a change to your PHP session.save_path configuration:
Action: Connect directly with a Live Agent via chat, phone call or email.
Comments
0 comments
Please sign in to leave a comment.