RE: [phplib] HELP: multiple phplib on the same server From: Philippe Paravicini (philippe <email protected>)
Date: 07/16/00

You need not 'auto_prepend' the prepend.php3 file. You can include it
manually (ie at the beginning of each file which uses phplib). Thus, you
could create a different prepend.php file for each product line which would
then include the appropriate local.inc.

I would tend to agree with Manish in that I would have only one code base
and one database for all products, provided that the type of information
that you are logging for all products is the same.

You could still have 3 different distinct front-ends to the public which
display only the appropriate bugs related to each product, but you would
only have to manage one code base and one database. Otherwise, as your code
base changes, you will experience the joy of having to make the same change
3 times, having out-of-sync versions in different sites, etc...

> -----Original Message-----
> From: francis [mailto:fbouchard <email protected>]
> Sent: Saturday, July 15, 2000 10:01 PM
> To: phplib <email protected>
> Subject: [phplib] HELP: multiple phplib on the same server
>
>
> I am building a web site that will allow users to log bugs of our
> product. I
> want to be able to support all our product. For this reason, I need to run
> three different phplib on my php cgi.
>
> the configuration would be like that:
> web site: www.theSite.com/product1/support
> /product2/support
> /product3/support
> I have 3 different databases and three sets of different pages.
> So I want to
> have 3 local.inc, 3 loginform.ihtml, etc.
>
> My problem comes when I want to configure php with the
> prepend.php3 and the
> php3.ini, so php will be able to go to the good directory and get the good
> local, etc.
>
> Anybody have already done this ?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>

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