How to change local value of open_basedir
GNU/Linux October 13th, 2007click on the image to enlarge.
open_basedir is a PHP directive that limits the files that can be opened by PHP to the specified directory-tree, including the file itself. This directive is NOT affected by whether Safe Mode is turned On or Off. When we check the phpnifo.php page, there are two values for each directive, the local and the master. I came across an issue where someone wanted to change the local value. I was aware that the Master value came from the php.ini file but was not sure of the local value. On googling a bit, I came to know that the local value is taken from the vhost configuration file for each of the host.








Recent Comments