Re: Interbase 5.

From: Date: Mon, 25 Feb 2002 09:51:36 +0000
Subject: Re: Interbase 5.
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-900@lists.php.net to get a copy of this message
Mattias Sundberg wrote: > > Hi, I´m a quite new user to PEAR and I have a question about how to user > Interbase 5 with PEAR. > The problem as it seems would be that the PHP ibase-extension uses the > highest SQL dialect available in your Interbase client libraries so if you > use a client library that has Interbase 6 support you PHP tries to use a > higher dialect than your database supports. Interbase 5 only supports > dialect 1 if I´m correct (at least our databases). > The question would be, is there a way to set the dialect and charset params > with PEAR or do I have to modify the PEAR classes to achieve this? > It's posible yes with the extra params support in DSN. Although the support for those params should be added in the ibase extension. So, what about: ibase://user:pass@localhost//var/data.db?charset=foo&dialect=bar&role=fubar I'll add a patch for it. Tomas V.V.Cox

« previous php.pear.general (#900) next »