• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

session.save_path: Automatically generated path for every vhost

Thomas Becker

Basic Pleskian
Hello,
I’m trying to set the session.save_path for each domain when using FastCGI. In the tab for PHP-Configuration in the Plesk Panel there is a variable {DOCROOT} in open_basedir. Is there such a variable for the Domain name that I can use for session.save_path ?

Something like that?
/var/www/vhosts/{DOMAIN}/private/php_sess

Is there a list of such variables availabe?

Thanks for help.
 
Last edited:
Back
Top