enabling odbc functions in php

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
invisibled
Forum Contributor
Posts: 112
Joined: Sun Apr 29, 2007 3:35 pm
Location: New Westminster

enabling odbc functions in php

Post 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
User avatar
akuji36
Forum Contributor
Posts: 190
Joined: Tue Oct 14, 2008 9:53 am
Location: Hartford, Connecticut

Re: enabling odbc functions in php

Post 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
invisibled
Forum Contributor
Posts: 112
Joined: Sun Apr 29, 2007 3:35 pm
Location: New Westminster

Re: enabling odbc functions in php

Post 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
User avatar
akuji36
Forum Contributor
Posts: 190
Joined: Tue Oct 14, 2008 9:53 am
Location: Hartford, Connecticut

Re: enabling odbc functions in php

Post 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
Post Reply