Hi, So with putty and root access i am able to get into /var/www/vhosts/mydomain.com/conf/ and i guess i need to create a file called httpd.conf (or copy it) But what do i exactly put into httpd.conf so i can open_basedir() for a certain folder I do see a vhost.conf with <Directory /var/www/vhosts/mydomain.com/httpdocs> php_admin_value open_basedir /var/www/vhosts/mydomain.com/httpdocs:/tmp:/system <Directory/> Code (markup): Any tips?? btw my php info says: open_basedir /var/www/vhosts/mydomain.com/httpdocs:/tmp no value
Hello, Open basedir is applicable for entire domain and not a single folder. however you can do a testing by altering the path, suppose for example you have an folder name in your domain by name abc, then just alter the path php_admin_value open_basedir /var/www/vhosts/mydomain.com/httpdocs/abc:/tmp:/system After the save the conf file and restart apache and then check if the openbase dir has been set for that domain. Thank you. Regards, Hostech Support