Page 1 of 1

Apache+php+unixODBC don't work in linux

Posted: Wed May 17, 2006 4:38 am
by Taxinha
Hello,

I have a pc with Linux and with an oracle 10.2g data base. I also have an web application in php and I use the functions odbc to connect to the data base

The drivers to connect is unixODBC and they work fine (I tested with isql and works). I also test with the php client and works too.
But when I try to access with apache+php I have the following error in odbc_connect:
Warning: odbc_connect() [function.odbc-connect]: SQL error: [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed, SQL state IM004 in SQLConnect in /home/scatex/MAN/sxbin/weblists/htdocs/scripts/ligacao.inc.php on line 44

Anyone have any idea?