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

Tried this:

yum install php-soap

Says:

No package php-soap available.

Then tried this:

yum --enablerepo=centosplus install php-soap

Still same sh!t. Tried this:

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

Still no luck. Guys, where's the repo that contains the needed package?

The server is at vps.net btw...

share|improve this question
    
what varsion of centos is it? Did you try yum search soap or yum search php-soap? what version of php are you using? –  B14D3 Dec 7 '11 at 22:26
    
yum repolist? ls /etc/yum.repos.d/? rpm -qa | grep php? –  quanta Dec 8 '11 at 10:07
    
Did you fix this yet? Same issue here, PHP 5.3.3 Centos 6 –  user174961 May 23 '13 at 10:12
add comment

3 Answers

I think that remi repo is what you are looking for.

Remi Dependency on CentOS 6 and Red Hat (RHEL) 6

rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm

CentOS 6 and Red Hat (RHEL) 6

rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

Remi Dependency on CentOS 5 and Red Hat (RHEL) 5

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

CentOS 5 and Red Hat (RHEL) 5

rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
share|improve this answer
add comment

firstly open /etc/yum.conf file. Find exclude line and erase php* command, then, save the file.

Then, 'yum install php-soap' command should work.

http://www.wallpaperama.com/forums/how-to-install-php-soap-extension-in-apache-linux-php-server-remove-t1756.html comment by Mehmet

Worked for me :)

share|improve this answer
add comment

I have it in epel and rpmforge repos on CentOS 5. Did you try with --enablerepo:

yum --enablerepo=epel install php-soap
share|improve this answer
    
Still says No package php-soap available. It's unbelieveable! But appreciate your answer btw. –  Dmitry Dec 7 '11 at 22:18
add comment

Your Answer

 
discard

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.