• 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/

httpd.include

S

superguigui3

Guest
Hello,

I have a problem with the auto-generated httpd.include on my server.

the open_basedir is set to :
php_admin_value open_basedir "/var/www/vhosts/www.website.com/httpdocs:/tmp"

But i need :
php_admin_value open_basedir "/var/www/vhosts/www.website.com/httpdocs:/tmp:/www:/var"

Our websites need to access to these 2 directories.

When Plesk reload the configuration, modification made are (of course) deleted.

Where can i make these changes ?

(I've tried to make it in /var/www/vhosts/www.website.com/conf/vhost.conf but it is not working)
 
After creating the vhost.conf file did you run:

/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=<domain_name>
 
Back
Top