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."
[EMAIL PROTECTED]         - "My Way", Frank Sinatra
[EMAIL PROTECTED]


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to