Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

closed as off-topic by Iain, Michael Hampton Nov 17 '15 at 8:52

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the 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

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:… – izip May 9 '12 at 22:03

Try this steps.

1> Install EPEL repo

 rpm -ivh

2> yum install php-mssql

share|improve this answer

You need to install php-mssql extension on Linux CentOS6

Step 1: Install needed respositories

rpm -Uvh

rpm -Uvh

Step 2: Install the extension

yum install php-mssql

share|improve this answer
Remi's repo is a tricky proposition for run-of-the-mill CentOS. Since the OP is running Plesk, all bets are off, though. – Deer Hunter Nov 17 '15 at 8:13

Plesk heavily alters the distribution, which is often considered as "not CentOS", especially, the PHP stack is fully replaced, and standard packages (from CentOS, or any 3rd party repository) can't be installed (excluded in yum configuration).

So you need to add Plesk support (Plesk is a commercial software).

share|improve this answer
This community decided some time ago to stop accepting questions about Plesk, cPanel and the like, precisely because of this issue. If you see an old question about them in future, please flag it to be closed. Thank you! – Michael Hampton Nov 17 '15 at 9:10
Thanks for the info, I wll do. – Remi Collet Nov 17 '15 at 9:16

I will suggest to use It works perfectly on CentOS

share|improve this answer

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