[unixODBC-support] Call to undefined function

Nick Gorham nick at easysoft.com
Mon Aug 23 20:41:38 BST 2004

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 error
> 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

More information about the unixODBC-support mailing list