Forum archive
Enabling MS SQL support in the LAMP stack (SOLVED)
One of my projects requires my app to talk to an MS SQL service from time to time.
How does one setup the module to allow this as I currently get:
Call to undefined function mssql_query()
I have not tried this myself, just a little googling...
php5-sybase might work (it provides the php5-mssql package), but i read there are a couple of issues, which might be solved by using pear to install the mdb2 mssql driver.
apt-get install php5-sybase php-pear pear install --nodeps MDB2_Driver_mssqlIf that doesn't work, you can try and rebuild the php package to include mssql support:
http://panthar.org/2006/06/15/php-with-mssql-on-ubuntu-606/
http://ubuntuforums.org/showthread.php?t=350269
http://www.lecentre.net/blog/archives/144
https://lists.ubuntu.com/archives/ubuntu-server-bugs/2009-May/012906.html
Let us know how it goes, with your help we might include mssql support in the upcoming release.