Installing php5-mssql in Ubuntu
Q. How do I install support for mssql in php on Ubuntu?A. The answer is not as intuitive as apt-get install php5-mysql, but pretty close:
This command will install generic support for MSSQL (based on sybase):
aptitude install php5-sybase
Some of the mssql functions are missing in the above package, so you'd need to run this:
pear install --nodeps MDB2_Driver_mssql
Tested on Ubuntu 8.04 and 10.04 LTS.
I've noticed that there is php5-mssql available in 10.04+, I haven't tried it, but the above steps can probably be replaced with that package.
Last Updated on Wednesday, 13 October 2010 08:02
Comments (3)
Add your comment
yvComment v.1.24.0
that's resolve my problem of mssql connection under ubuntu server
Myself trying for the past 6 hours and got the final result and ended up in working.
I have been looking for these instructions for a while, yours are the simplest to follow and unlike all the others i have found... yours really work!