woolyg Posted December 23, 2009 Share Posted December 23, 2009 Hi all, Just a quick one - is it possible to connect to an MSSQL DB Server from a web server hosted upon a linux OS? I've been reading about the requirements to have SQL Client Tools running on the web server serving the PHP pages. Has anyone tried connecting to a Windows SQL DB from a PHP page that is hosted on a Linux OS? Cheers WoolyG Link to comment https://forums.phpfreaks.com/topic/186111-mssql-connection-from-non-windows-os/ Share on other sites More sharing options...
corbin Posted December 28, 2009 Share Posted December 28, 2009 You'll need to compile the MSSQL extension (or PDO::MSSQL or whatever) with FreeTDS. FreeTDS has some problems, but it will probably work for you. (By the way, might be worth looking on yum/apt to see if the extension is in there.) Link to comment https://forums.phpfreaks.com/topic/186111-mssql-connection-from-non-windows-os/#findComment-985035 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.