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

vhost.conf

M

MaRiOs

Guest
I try to install the moodle cms in a subdomain called education/

but I get errors of : Warning: file_exists(): open_basedir restriction in effect.

so I created a vhost.conf file containing :

<Directory /home/httpd/vhosts/mariosmaravelias.info/subdomains/education/httpdocs>
php_admin_value open_basedir none
php_admin_value safe_mode 0
</Directory>

The I runned the command /usr/local/psa/admin/sbin/websrvmng -u --vhost-name=maindomain.com

and I got no error.
Then I restarted apache.

And I saw no change to the errors of the cms ...
 
Where did you set up the vhost.conf file?

It should be

/home/httpd/vhosts/mariosmaravelias.info/subdomains/education/conf/vhost.conf

NOT

/home/httpd/vhosts/mariosmaravelias.info/conf/vhost.conf

(That was my fault the last time...)
 
Back
Top