Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-09-2003, 08:04 PM   #1
LQ Newbie
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20

Rep: Reputation: 0
Unhappy access Windows ODBC from Linux PHP

Ok, so here's my issue. I'm trying to pull data from an ODBC that I do not have access to other then a DSN, username and pass (and the tables).
I mention this because I cannot install any software or make any configuration changes on this box.

The linux box is Mandrake 9.1.

Currently, the odbc_connect command is giving this error in my php:
Fatal error: Call to undefined function: odbc_connect()

I have installed unixODBC, mdbtools, and mdbtools-odbc.....and php-odbc SAYS it's installed... but I think the phpinfo() thinks different...

"package php-odbc-4.2.3-8 is already installed".

The linux box is on an internal network so I can't link you to the direct server, however here is the output of the phpinfo() from the box, moved to a public server:

Just ask if you need any additional info.
Old 12-10-2003, 01:48 PM   #2
LQ Newbie
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20

Original Poster
Rep: Reputation: 0
Any help?
Old 12-15-2003, 08:32 AM   #3
Registered: Sep 2003
Location: France
Distribution: RedHat
Posts: 58

Rep: Reputation: 15
normaly odbc_connect will be available after installing php-odbc
You must restart the web server (httpd if linux)!
Check in php.ini file if you have the module activated (


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MS access ODBC for linux eloviyandhi Programming 3 06-23-2005 01:37 AM
Segfault Apache PHP ODBC nbjayme Fedora 1 01-20-2004 12:27 AM
How can I use Apache&ODBC to access a M$ SQL2000 Database??? x86br Linux - General 1 01-28-2003 01:47 AM
ODBC Microsoft Access for Linux gokussj Linux - General 6 08-01-2002 05:54 AM
ODBC Access and Linux JohnBradshaw Linux - Networking 8 07-18-2002 11:37 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration