Hi Jason, i think you misunderstood what i was asking. i am doing exactly what you described below. My question is whether there is a way to not overwrite the include_path variable, but instead to append certain paths within my virtual server's setup to the master include_path that is setup in my php.ini file.
Jason Wong wrote: > > 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: > > <VirtualHost 126.96.36.199> > ServerAdmin [EMAIL PROTECTED] > 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 > </Directory> > </VirtualHost> -- ~darcy w. christ Elegant Communications Inc. 416.362.9772 x222 | 416.362.8324 fax -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php