note 28257 added to function.odbc-connect
| From: | el_palomar at terra dot es | Date: | Tue, 07 Jan 2003 14:42:31 +0000 |
| Subject: | note 28257 added to function.odbc-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41791@lists.php.net to get a copy of this message | ||
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....
-- Daniel
--
http://www.php.net/manual/en/function.odbc-connect.php
http://master.php.net/manage/user-notes.php?action=edit+28257
http://master.php.net/manage/user-notes.php?action=delete+28257
http://master.php.net/manage/user-notes.php?action=reject+28257