Page 1 of 1

enabling odbc functions in php

Posted: Tue Mar 09, 2010 3:17 pm
by invisibled
Ok so i have a linux server, with php. and i need to enable the ODBC functions (http://ca.php.net/odbc_connect)

does anybody know the ./configure commands to do this? IT would be greatly appriciated

Re: enabling odbc functions in php

Posted: Tue Mar 09, 2010 3:53 pm
by akuji36
Take a look at the following link:

http://www.easysoft.com/developer/inter ... linux.html

I believe it contains a link to download drivers if you need them.

thanks

Rod

Re: enabling odbc functions in php

Posted: Tue Mar 09, 2010 4:05 pm
by invisibled
hey rod, i've already got the driver installed and working. I can make the connection to the database in terminal. My problem is the php functions are not enabled on the server's php build. So i need to enable them or re-install php with them enabled

Re: enabling odbc functions in php

Posted: Wed Mar 10, 2010 9:14 am
by akuji36
Take a look here:

http://www.unixodbc.org/doc/FreeTDS2.html
(Specifics for a Unix box should be included)

php.ini amended to..

extension = odbc.so



hope this helps

thanks

Rod