• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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