title: ISPConfig 3, a ninja sets my open_basedir
body: <p>I have a PHP library that I'd like to share to several vhosts on my server, but the open_basedir directive is causing troubles. </p>
  
  <p>I use ISPConfig 3 to manage the sites.</p>
  
  <blockquote>
    <p><strong>PHP Warning</strong>:  include(): open_basedir restriction in effect.
    File(/var/toaster/latest/__server/core/cms.php) is not within the
    allowed path(s): (<em>[cut:several paths]</em>) in <em>[cut]</em> on line 5</p>
  </blockquote>
  
  <h2>phpinfo() says:</h2>
  
  <blockquote>
    <p><strong>Loaded Configuration File</strong>: /etc/php5/cgi/php.ini<br>
    <strong>open_basedir</strong>: <em>[cut:several paths]</em> (local &amp; master value)</p>
  </blockquote>
  
  <h2>/etc/php5/cgi/php.ini says:</h2>
  
  <blockquote>
    <p>;open_basedir = </p>
  </blockquote>
  
  <h2>/usr/local/ispconfig/server/conf/vhost.conf.master says:</h2>
  
  <blockquote>
    <p>&lt;tmpl_if name='security_level' op='==' value='20'><br>
        php_admin_value open_basedir &lt;tmpl_var name='php_open_basedir'><br>
    &lt;/tmpl_if>  </p>
  </blockquote>
  
  <h2>but /etc/apache2/sites-enabled/[cut: domain].vhost says:</h2>
  
  <p>absolutely nothing about open_basedir</p>
  
  <hr>
  
  <p>All this means that something unknown to me sets my open_basedir directive. What, Where?</p>