Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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)

.:/tmp:/usr/share/php5:/srv/www/virtual.domain.com/

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

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

I found it it was in /etc/apache2/sites-enabled/virtual.domain.com the value was

php_admin_value open_basedir ".:/tmp:/usr/share/php5:/srv/www/virtual.domain.com/"
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.