Re: [phplib] multiples PHPLIB applications on the same server From: Marius Andreiana (mandreiana <email protected>)
Date: 04/13/01

> > I know I can solve it using some APACHE capabilities to include the =
> > local.inc file of each Virtual site dinamically, but my development =
> > environment is on WIN98 + MS PWS,
> >
> > Do you have any ideas on how can I include the correct local.inc file =
> > dinamically, using PHP4 on Windows PWS ?
best solution : in httpd.conf, in virtual host set include_path for php
php_value include_path <include_path>
it is different for every virtual server.

Then in your apps you say require("prepend.php3") or whatever, no matter
how
many directories you have (no copies of local.inc everywhere)

-- 
Marius Andreiana

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>