Page 1 of 1

Ubuntu ODBC problem

PostPosted: 11. June 2009 16:39
by pepitovadecurt
Hi I have an app running in XAMPP Windows correctly and connects to iSeries AS400 by ODBC.
Now I change the server (at the moment testing) to Ubuntu Server, but when connect to ODBC, this message appears:
Fatal error: Call to undefined function odbc_connect() in /opt/lampp/htdocs/ .......

I have a unixodbc installed running correctly, checked by the utility "Data Manager" and the iSeriesAccess drivers installed.
In the php.ini, I add this line:
extension="odbc.so"

But in the error_log appears the odbc.so doesn't exists in
/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/odbc.so

This is a XAMPP Linux bug? Or have solution?

Re: Ubuntu ODBC problem

PostPosted: 15. June 2009 11:14
by pepitovadecurt
Finally, I don't use XAMPP in Linux.
Intalling Apache and ODBC connector runs very well.

Still using in Windows because ODBC runs ok.