Question

Locked

Ubuntu with PHP and connecting to ODBC

By Larson ·
I have a Ubuntu 8.04 with apache and php installed. I keep getting the following error when trying to connect to my MSSQL database.
I switched my IP with X's.

Driver={SQL Server};Server=XX.XXX.XX.XX;Database=SBM01;: Missing extension for odbc

Can anyone tell me what I need to do to get odbc working for ubuntu and php?

Thank you,
Kyle

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Setup ODBC Connection for All Users

by poffey21 In reply to Ubuntu with PHP and conne ...

http://www.unixodbc.org/doc/FreeTDS.html That guide helped me out a lot. One thing to note, I was able to get it running under root, and was having problems under apache until I realized that it saved a .odbc.ini file in the /root directory. That will need to be copied to the /etc directory.

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums