Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connect to MS SQL Server from PHP on Linux? [closed]

I need to connect to an MS SQL Server database from a PHP script running on a Linux server. I'm looking at using FreeTDS as there is no official MS SQL Server driver for Linux. Is this my best option? Is it ok in a production environment? Are there other options, perhaps ODBC?

like image 607
Liam Avatar asked Feb 03 '09 15:02

Liam


1 Answers

The company I work for has been running FreeTDS to connect to SQL 2000 on our production server for almost 6 years now. There's a couple of issues with special character encoding, but overall it works well.

like image 122
Wally Lawless Avatar answered Sep 30 '22 10:09

Wally Lawless