This is probably a dumb question. I'm trying to connect to an access database through php following an old article on the site. I'm getting the fatal error "call to undefined function: odbc_connect()" Does this have something to do with the version of php running on the server or what could be the problem? Thanks.

    From the php.net manual page...

    http://www.php.net/odbc_connect

    I was getting the error:

    Call to undefined function: odbc_connect()

    on a machine with unixODBC compiled in php ('--with-unixODBC=shared,/usr' ), and I was wondering what was wrong since php.ini indicates that:

    "Note that MySQL and ODBC support is now built in, so no dll is needed for it."

    After installing php4-odbc and adding the line

    extension=odbc.so

    it worked.

    Hope it helps others....

      Write a Reply...