Getting ODBC shared extension

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
acobster
Forum Newbie
Posts: 1
Joined: Mon Dec 20, 2010 7:40 pm

Getting ODBC shared extension

Post by acobster »

Hello,

Please tell me if I'm not posting in the right place...

I'm using XAMPP in Mac OS X 10.6, and I'm trying to use odbc to connect to an MS SQL Server. I'm currently getting:

Fatal error: Call to undefined function odbc_connect()

I know this is because I don't have the right extension loading/installed, but I'm having a really hard time discerning what steps I need to take/what applies to me. So, my questions are:

1) Isn't there a way to use a dynamic module (something like odbc.so) so I don't have to recompile php?

2) If so, where can I find such a module? How do I install/configure it?
Post Reply