• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

server not reading vhost.conf?

michaellunsford

Regular Pleskian
I've created a vhost.conf file inside the /home/httpd/vhosts/domain.com/conf directory to add a specific directory open_basedir line. Problem is, no matter what I do with the basedir line, I get the same error in PHP.

open_basedir restriction in effect. File is not within the allowed path(s): (/home/httpd/vhosts/domain.com/httpdocs:/tmp)

for fun, I even deleted the /tmp from the open_basedir line, yet it still appears in the error.

To answer your first question, here is the current vhost.conf file:
Code:
<Directory /home/httpd/vhosts/domain.com/httpdocs>
php_admin_flag engine on
php_admin_value open_basedir /home/httpd/vhosts/domain.com/httpdocs/:/usr/local/images/:
</Directory>

also, I have restarted apache from the plesk control panel (there is no file called my_apci_rst in the /usr/local/psa/admin/bin/ directory).

Help!
 
php_admin_value open_basedir none

Try this instead and restart apache....
 
This will either clear something up or add to the confusion. I just changed my basedir restriction on another domain and restarted apache. phpinfo() reflects the change.

copied the vhost.conf file from the known good domain to the problem domain. Changed the <directory tag to reflect the correct directory, and modified the basedir to also include the right stuff. phpinfo() still reflects the generic /domain/ directory AND /tmp/ even though, temp has been removed. It is still not showing the /usr/local/image folder I added.

Is there a file somewhere that could be overriding the vhost.conf file, or a setting in plesk that is not allowing it to be read?
 
Back
Top