T
tincup
Guest
Hi. I don't know if this is off-topic in here but my web server is Plesk controlled.
I need to extend the PHP open_basedir of one of my subdomains by "/usr/share/php". So I create a file "vhost.conf" at
/var/www/vhosts/domainname.com/subdomains/subdomainname/httpdocs
with the contents
<Directory /var/www/vhosts/domainname.com/subdomains/subdomainname/httpdocs>
php_admin_value open_basedir "/var/www/vhosts/domainname.com/subdomains/subdomainname/httpdocs:/tmp:/usr/share/php"
</Directory>
This did not work. Does anyone know why?
I need to extend the PHP open_basedir of one of my subdomains by "/usr/share/php". So I create a file "vhost.conf" at
/var/www/vhosts/domainname.com/subdomains/subdomainname/httpdocs
with the contents
<Directory /var/www/vhosts/domainname.com/subdomains/subdomainname/httpdocs>
php_admin_value open_basedir "/var/www/vhosts/domainname.com/subdomains/subdomainname/httpdocs:/tmp:/usr/share/php"
</Directory>
This did not work. Does anyone know why?