• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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