On Thursday 28 February 2002 01:50, darcy w. christ wrote:
> hi,
>   i'm hoping to find a way to append to the include_path set in my
> php.ini file.  i've got several virtual servers that each require
> different include_paths which are defined using the php_admin_value line
> in my apache conf file.  Since the documentation says that include_path
> is like the UNIX PATH variable, i assumed (or maybe hoped) that i would
> be able to use a syntax like this:
>   php_admin_value include_path "$include_path:/some/other/path"
> unfortunately, it doesn't work.  Is there a way to append to the path?

One way to allow each virtual server to have their own php config is to set 
the values from within httpd.conf:

  DocumentRoot /home/www/www.domain.com
  ServerName www.domain.com

 <Directory "/home/www/www.domain.com">
  Allow from All
  php_value include_path .:/home/www/www.domain.com

Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

Lubarsky's Law of Cybernetic Entomology:
        There's always one more bug.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to