It’s frequently observed that you needn’t require to change settings in PHP for all the servers together. For citing an example, let’s enable open_basedir for one of the domains you run on the dedicated server. You may find the vhost.conf at the below script:
/var/www/vhosts/yourdomain.com/conf/vhost.conf
The vhost.conf is very much similar to the php.ini config file with some slight differences. The file looks like
< Directory /var/www/vhosts/yourdomain.com/httpdocs >
php_admin_flag safe_mode off
php_admin_value open_basedir none
< /Directory >
You must add settings to your new vhost.conf file between < Directory >< /Directory >

