Can anyone write a tutorial on how to install the required packages on Ubuntu to make php connect to MSSQL databases?

  • Posted October 8, 2013

I was trying different tutorials on installing the freetds, sybase and pdo for mssql but did not had any success so far (

I was wondering if someone can give me a hand here?


Could anyone post an updated tutorial as i’m also trying to connect to an MSSQL server. This problems with this tutorial are:

  • No such directory ‘pub/Linux/ALPHA/freetds/stable’ - but i managed to find it elsewhere
  • invalid variable name: `–prefix’ - when i try to build the library and I can’t progress from this

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

^^ You asked what I asked… with better words. :P <br>

Which step are you stuck on?

The tutorial looks fine… where you stuck?