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 Quote 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.) Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.