Hi Justin,
You might want to see the guidelines in the iODBC.org website maintained by OpenLink Software. The URL is:
http://www.iodbc.org/odbc-phpHOWTO.html
I do not have the details here but it might be the case that your php environment does not refer to the OpenLink iODBC driver manager. Something to the effect of:
<?php
putenv("LD_LIBRARY_PATH=/usr/local/src/odbcsdk/lib");
putenv("ODBCINSTINI=/path/to/odbcinst.ini"); //this location will be determined by your driver install.
putenv("ODBCINI=/path/to/odbc.ini"); //odbc.ini contains your DSNs, location determined by your driver install.
$dsn="DSN=DSN_NAME"; // this is a valid DSN‚ can be tested in odbctest
$user="username";
$password="password";
If the problem still persists please take advantage of our free online support service for initial connection/configuration problems and log a support case. This can be accessed from the following URL:
http://oplweb2.openlinksw.com/product/registerq4.asp?hname=techreq
Best Regards,
Ashok Rautela
Professional Services Consultant
OpenLink Software
Tel: +44 (0)20 8681 7701
http://www.openlinksw.co.uk