How do I install PHP PDO Mssql Driver on Centos?

link|improve this question
feedback

migrated from stackoverflow.com Jan 23 '11 at 18:45

This question came from our site for professional and enthusiast programmers.

2 Answers

php has a sybase driver that can connect mssql server, also you can use odbc to connect.

modules are php5-sybase and php5-odbc

in ubuntu I can install them using

 sudo apt-get install php5-odbc php5-sybase 

in red-hat it should alike, using yum.

link|improve this answer
feedback

yum install php-pdo

there is also a php 5.3 version, if you have that version of php installed php53-pdo, but don't install that otherwise as the upgrade breaks loads of stuff.

there is a php-mssql module as well which might be handy.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.