Published October 27th, 2003 by Jim O'Halloran
Executing Microsoft SQL Stored Procedues from PHP on Linux
DevArticles shows us a few tricks required to make PHP on Linux call Microsoft SQL Server stored procedures sucessfully.
We need to modify some source code before we proceed to compile and install PHP. The reason to do this is: mssql_bind(), mssql_execute(), and mssql_init() do not work with FreeTDS without modification
Aside from the source code changes, the rest is basically pretty standard “how to compile apache and php” stuff, and not worth worrying about too much. I still use the method I blogged a while ago with no problems. When compiling PHP with FreeTDS support though, watch out for this FreeTDS gotcha.