I have Microsoft SQL Server 2008 on Windows PC but my PHP is on Ubuntu, hosted by webfusion.

I haven't configured anything at all but I want PHP to connect to SQL Server. What drivers do I need and how can I install it?


I think it is built in http://php.net/manual/en/function.mssql-connect.php I haven't had to do this before but I ran into this a while back while looking for something similar for work.

| improve this answer | |
  • It is built in but unfortunately only works on windows platform. If your php is on linux, it throws error. – user266722 Apr 8 '14 at 17:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.