Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Due to some insufficient memory limit we bought a dedicated server. We installed most of the things by using putty. But we are unable to install the PHP package. If we try to install it's saying package is not available . Could any one can suggest me how i can install this? we purchased cent os v5.

Error Message :

root@vs-bgiger [/]# yum install php-common php-gd php-mcrypt php-pear php-pecl-memcache php-mhash php-mysql php-xml                          Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * extras:
 * updates:
base                                                                                                                  | 2.1 kB     00:00
extras                                                                                                                | 2.1 kB     00:00
updates                                                                                                               | 1.9 kB     00:00
Excluding Packages in global exclude list
Setting up Install Process
No package php-common available.
No package php-gd available.
No package php-mcrypt available.
No package php-pear available.
No package php-pecl-memcache available.
No package php-mhash available.
No package php-mysql available.
No package php-xml available.
Nothing to do
share|improve this question
Can you please post the exact error message you're getting. – Ben Pilbrow Jun 2 '11 at 11:15
please check it back.. Posted the error report (Coming from putty). – Mayilarun Jun 2 '11 at 11:21

Do the following:

yum search php

What are the results?

If you still don't have any php results you can add the rpmforge and EPEL repositories and search again.

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.