Answer the question
In order to leave comments, you need to log in
How to add specific open_basedir to all virtual hosts?
I want to add "/usr/share/php" to each virtual host in addition to the default value of open_basedir (usually "/var/www/site:.") - here are shared php libraries that should be available to all virtual hosts.
If you write php_admin_value open_basedir "/usr/share/php"
before the <Directory> and <VirtualHost> sections, it will not give any effect, because redefined within them.
Or it is necessary to add to each virtual host separately?
Answer the question
In order to leave comments, you need to log in
This directive pretty much slows down the site, and in fact it does not provide much protection.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question