• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

config /vhost.conf not function!

D

DimasK

Guest
<Directory /var/www/vhosts/host.comr/htdocs>

php_admin_value open_basedir "/var/www/vhosts/kibook.com.brt/htdocs:/tmp:/var/www/vhosts/host.com/data-2"
 
your values are not matching.

Should be something like

<Directory /var/www/vhosts/host.com/httpdocs>
php_admin_value open_basedir "/var/www/vhosts/host.com/httpdocs:/tmp:/var/www/vhosts/host.com/data-2"
</Directory>

Also once you configure the new conf you need to tell plesk about it
/usr/local/psa/admin/bin/websrvmng -u --vhost-name=domain.com
 
Back
Top