Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I try to set in php open_basedir to /srv/www because I need to link folder from one virtual host to another, so I set in /etc/php5/apache2/php.ini

open_basedir = .:/tmp:/usr/share/php5:/srv/www

but phpinfo shows that local value is still (Master Value is the one I set in php.ini)


Where can I find php config per virtual host, (it's debian 6.0.5)?

share|improve this question
up vote 0 down vote accepted

I found it it was in /etc/apache2/sites-enabled/ the value was

php_admin_value open_basedir ".:/tmp:/usr/share/php5:/srv/www/"
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .