Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a server running CentOS 6.2 with Plesk 10.4. When I SSH in, and try and install ms-sql extension it says "No package php-mssql available."

I can't seem to find much on Google for this, and I am a bit of a Linux noob. Can anyone offer any help?

EDIT: I tried installing it using "yum install php-mssql"

share|improve this question
How did you "try and install ms-sql extension"? –  wfaulk May 9 '12 at 21:37
"yum install php-mssql" –  izip May 9 '12 at 21:42

3 Answers 3

php-mssql is in EPEL.

share|improve this answer
How would I install EPEL in CentOS 6.2? "If you are running an EL6 version ,please visit here to get the newest 'epel-release' package for EL6: The newest version of 'epel-release' for EL6" How would I know if I am running EL6? –  izip May 9 '12 at 21:59
It goes by the major number of the distro version. Hence, CentOS 6.2 is EL6. –  Ignacio Vazquez-Abrams May 9 '12 at 22:01
OK thanks, will try. This linked helped for others finding this: gembuls.wordpress.com/2011/02/12/… –  izip May 9 '12 at 22:03

Try this steps.

1> Install EPEL repo

 rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm

2> yum install php-mssql

share|improve this answer

I will suggest to use http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/. It works perfectly on CentOS

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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