LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   access Windows ODBC from Linux PHP (https://www.linuxquestions.org/questions/linux-software-2/access-windows-odbc-from-linux-php-124381/)

Psykoral 12-09-2003 07:04 PM

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:

http://mail.flippydisk.com/phpinfo.html

Just ask if you need any additional info. :confused:

Psykoral 12-10-2003 12:48 PM

Any help? :study:

pedro_nf 12-15-2003 07:32 AM

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 (extension=odbc.so)


All times are GMT -5. The time now is 09:32 PM.