title: How to set the PHP include path via .htaccess?
body: <p>I want to set the PHP include path to another directory. I tried putting this in an .htaccess file, but that didn't work. The only thing I see is the include path's I set in httpd.conf, but not the one I tried to add.</p>
  
  <pre><code>&lt;IfModule mod_php5.c&gt;
  php_value include_path ".:/var/www/mywebsite/"
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>What am I doing wrong?
  I did <code>a2enmod mod_php5</code>, but it was already running, so I suppose PHP5 is already running as Apache module.</p>
  
  <p>[EDIT] In my vhost config I have this:</p>
  
  <pre><code>&lt;Directory ~ "^/var/www/.*"&gt;
          AllowOverride All
          Options FollowSymLinks -Indexes -MultiViews
          php_value include_path ".:./include:./.include/:/var/www/.include/:/var/www/"
  &lt;/Directory&gt;
  </code></pre>
  
  <p>More info (<code>phpinfo()</code>):</p>
  
  <pre><code>Loaded Modules  core mod_log_config mod_logio prefork http_core mod_so mod_alias mod_auth_basic mod_auth_mysql mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_deflate mod_dir mod_env mod_mime mod_negotiation mod_php5 mod_reqtimeout mod_rewrite mod_setenvif mod_status
  
  include_path    .:./include:./.include/:/var/www/.include/:/var/www/    .:/usr/share/php:/usr/share/pear
  </code></pre>
  
  <p>Regards,
  Kevin</p>