Re: PHP vs. 2 database softwares
| From: | Scott Fletcher | Date: | Mon, 01 Oct 2001 19:50:18 +0000 |
| Subject: | Re: PHP vs. 2 database softwares | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-12892@lists.php.net to get a copy of this message | ||
Well, I did that. I typed in
"./configure --with-iodbc=/usr/local/odbcsdk --with-ibm-db2=/usr/lp/db2_06_0
1" and it can compile without a problem. However, I checked the result of
the configure and it didn't display the iodbc for some reason. So, that's
why the iodbc was not compiled with PHP. I did have hte environment
variable specified correctly. I tried to test it to see if it work if I do
the configure command without hte ibm db2 option and it can see the iodbc.
So, when I put the iodbc option back in, it can not see the iodbc. Why is
that? I do not know? I'm using PHP-4.0.6
Scott
"John Lim" <jlim@natsoft.com.my> wrote in message
news:20011001165624.55296.qmail@pb1.pair.com...
> I have connected simultaneously to interbase, mysql, postgresql, oracle,
> mssql, microsoft access, foxpro in one script.
>
> You just configure PHP to be compiled with multiple database options.
> Simple.
>
> - John
>
> "Scott Fletcher" <scott@abcoa.com> wrote in message
> news:20011001161038.22779.qmail@pb1.pair.com...
> > Hi!
> >
> > I found that PHP can be compiled and work with only one database
> > software. You won't be able to have PHP to work with 2 seperate
database
> > softwares. (You can compile it but it will work only with one databse
> > software, not both, no matter what). I checked the php "./configure"
file
> > and found that it is not design to include 2 seperate databases when you
> > want it to.
> >
> > Man, it would be very nice to have PHP to work with multiple
database
> > softwares. The only way you can have PHP to work with more than 1
> database
> > softwares, then you would need to compile PHP & Apache to work with one
> > database. Then re-configure and re-compile PHP & Apache to a seperate
> > directory. That way, you will have 2 apaches and run them together.
> There
> > is no other way!
> >
> > Thanks,
> > Scott
> >
> >
>
>