Re: Help talking to iODBC...?
| From: | Dan Kalowsky | Date: | Mon, 24 Jun 2002 20:11:22 +0000 |
| Subject: | Re: Help talking to iODBC...? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85548@lists.php.net to get a copy of this message | ||
On Mon, 24 Jun 2002, Jay Van Vark wrote:
> >> --with-iodbc=/usr/local/src/odbcsdk
> I have iODBC installed at /usr/local/src/odbcsdk
Then that is the proper path to be using.
> I am trying to get iODBC to connect to a database - I have PHP compiling ok,
> but it never finds any of the DSNs that I have defined... I can find them in
> iSQL, but not from PHP...
Have you followed the instructions at iodbc.org?
You have to define the ODBCINI path in your PHP file for iODBC to work.
Andrew Hill has created a good tutorial on doing this at:
http://www.iodbc.org/iodbc-phposxHOWTO.html
>---------------------------------------------------------------<
Dan Kalowsky "The record shows, I took the blows.
http://www.deadmime.org/~dank And did it my way."
dank@nospam-deadmime.org - "My Way", Frank Sinatra
kalowsky@nospam-php.net