RE: [PHP-DB] Re: PHP vs. 2 database softwares
| From: | Mark Newnham | Date: | Mon, 01 Oct 2001 19:54:14 +0000 |
| Subject: | RE: [PHP-DB] Re: PHP vs. 2 database softwares | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12893@lists.php.net to get a copy of this message | ||
When i was switching back and forth between those 2 environments, I had to
remove the config.cache file before doing a 'configure' in order to make it
compile correctly.
> -----Original Message-----
> From: Scott Fletcher [mailto:scott@abcoa.com]
> Sent: Monday, October 01, 2001 1:50 PM
> To: php-db@lists.php.net
> Subject: [PHP-DB] Re: PHP vs. 2 database softwares
>
>
> 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
> > >
> > >
> >
> >
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>