I tried to add this line to my virtual hosts in Apache, but failed:
php_admin_value open_basedir "/var/www/users/test"
root# apt-get install apache2 apache2-suexec libapache2-mod-fcgid php5-cgi
Something I noticed in php manual that worried me enough (http://www.php.net/manual/en/ini.list.php):
open_basedir is marked as
"Entry can be set anywhere" so, even at run-time a user can change it or am I having wrong?*
(*: confirmed, user can NOT change it at run-time)