how to enable odbc in lampp?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

how to enable odbc in lampp?

Postby faboc » 03. December 2013 03:37

i have already installed lampp 1.8.1 in my ubuntu 12.04.

in my phpinfo(), i can't see odbc or PDO ODBC. So i execute odbc_connect in my PHP code and then show a message 'Fatal error: Call to undefined function odbc_connect() in /opt/lampp/htdocs/...'

How to fixed it?

i am using progress database version 10.2A, PHP Version 5.4.7.
OS version : Ubuntu 12.04.
faboc
 
Posts: 1
Joined: 03. December 2013 02:20
XAMPP Version: 1.8.2-4
Operating System: ubuntu 12.04

Re: how to enable odbc in lampp?

Postby Nobbie » 06. December 2013 23:29

faboc wrote:How to fixed it?


You cannot fix it.

Ask the Xampp team in order to include PDO ODBC when compiling PHP (obviously this is not done for current Xampp Linux Releases). There is no option for including ODBC additionally.

As i dont think that you will get a positiv answer on that quickly (or ever...), you should not use Xampp on Linux, instead install the packages that are coming with your distribution. Or try a Windows Xampp - ODBC is integrated in Xampp for Windows.
Nobbie
 
Posts: 6920
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 7 guests