[unixODBC-support] Call to undefined function

David Kramer dave at fabco.com
Tue Aug 24 17:21:14 BST 2004

--with-unixodbc <> --with-unixODBC.

The mind is a terrible thing to waste....  Must have looked at that config
line at least a dozen times... Ugh....  Thanks for your help Nick.

-----Original Message-----
From: unixodbc-support-bounces at mail.easysoft.com
[mailto:unixodbc-support-bounces at mail.easysoft.com]On Behalf Of Nick
Sent: Monday, August 23, 2004 2:42 PM
To: Support for the unixODBC project
Subject: Re: [unixODBC-support] Call to undefined function

David Kramer wrote:
> After recompiling PHP, in a continued attempt to get adodb to function, I
> decided to take things one step further and verify the I could get an ODBC
> connection to a sql server database through PHP.  I get the following
> when trying to do the connection:
> Fatal Error:  Call to undefined function: odbc_connect() in
> /var/www/phpgacl/text2.php
> Guessing I've missed something in either the configure for PHP or in the
> .INI file.  Any thoughts?

Depends on how its built, but I would guess you need a


in php.ini, and to make sure its built and installed odbc.so

Nick Gorham
Easysoft Limited
unixODBC-support mailing list
unixODBC-support at mail.easysoft.com

More information about the unixODBC-support mailing list