Related Items  

Linux and Windows IT Support  

dedicated-technology-experts

Windows, Apple and Linux IT support and services.

For Software and Web Development.

Installing php5-mssql in Ubuntu

PrintE-mail
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.

Comments (3)
Success install
3 Wednesday, 30 November 2011 04:41
khaled jamel
Thank you for this
that's resolve my problem of mssql connection under ubuntu server
MSSQL Ubuntu Installed Successfully
2 Friday, 10 June 2011 06:52
Vijay
Really awesome help!!!
Myself trying for the past 6 hours and got the final result and ended up in working.
MS SQL Setupon Ubuntu
1 Sunday, 23 January 2011 04:20
Simon
Thank you so much for this.
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!

Add your comment

Your name:
Subject:
Comment:
  The word for verification. Lowercase letters only with no spaces.
Word verification:
yvComment v.1.24.0
   
Copyright © 1999 - 2024 Virtual Helpme | Business IT Support | Original Template: Allrounder