--- Brian Cummiskey <[EMAIL PROTECTED]> wrote: > my office is finally starting to make the move to linux/apache/php web > servers from IIS. But, the majority of our databases will remain on MS > SQL 2000. > > I've been trying to connect from my linux webserver at location A to my > MS SQL server on wink2k3 at location B to no avail. > > i've read a ton of articles on odbc, and how there needs to be a DSN on > the webserver machine... but how do you put a DNS on a linux box? > I finally got around that and now, i'm failing at the basic connect > function: > Fatal error: Call to undefined function: odbc_connect() > > I must be missing a library of some sort. > > can anyone point me in the right direction?
You should probably reveal how you set up a DSN (Data Source Name) since others will doubtless run into the same obstacle. Which version of Linux are you using? If it is a Red Hat/Fedora system, there are php-odbc*.rpm files which can bring this functionality to your system. You will need the ODBC libraries (look for both *odbc*.rpm and *ODBC*.rpm in your install CDs). If you are using a hosting company, you'll have to ask them nicely to install these modules or recompile PHP to include ODBC functions. James _____ James D. Keeline http://www.Keeline.com http://www.Keeline.com/articles http://Stratemeyer.org http://www.Keeline.com/TSCollection http://www.ITeachPHP.com -- Free Computer Classes: Linux, PHP, etc. Spring Semester Begins Jan 31 -- New Classes Start Every Few Weeks. Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
