Date: 04/13/01
- Next message: Bogdan Morar: "Re: [phplib] per session cookies expiring after e15 mins"
- Previous message: Eric McKeown: "Re: [phplib] sybase_affected_rows Function!!!"
- In reply to: fabrizio.ermini <email protected>: "Re: [phplib] multiples PHPLIB applications on the same server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > 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>
- Next message: Bogdan Morar: "Re: [phplib] per session cookies expiring after e15 mins"
- Previous message: Eric McKeown: "Re: [phplib] sybase_affected_rows Function!!!"
- In reply to: fabrizio.ermini <email protected>: "Re: [phplib] multiples PHPLIB applications on the same server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

