Trying to install php-soap and getting the 'No package php-soap available.'
9,589
Solution 1
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 :)
Solution 2
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
Related videos on Youtube
Author by
Dmitry
Updated on November 12, 2022Comments
-
Dmitry over 1 year
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...
-
B14D3 over 12 yearswhat varsion of centos is it? Did you try yum search soap or yum search php-soap? what version of php are you using?
-
Greg Petersen over 12 years
yum repolist
?ls /etc/yum.repos.d/
?rpm -qa | grep php
? -
Admin almost 11 yearsDid you fix this yet? Same issue here, PHP 5.3.3 Centos 6
-
-
Dmitry over 12 yearsStill says
No package php-soap available.
It's unbelieveable! But appreciate your answer btw. -
Maulik patel almost 8 yearsafter run this command
find -name soap.so
in root folder i see this is soap path./usr/lib64/php/modules/soap.so
i set this lineextension='./usr/lib64/php/modules/soap.so'
/etc/php.ini
file and restart httpd services in cent os 6. but still it couldn't enable soap service. any idea? -
B14D3 almost 8 yearsremove dot at the begining "extension='/usr/lib64/php/modules/soap.so'" after that check with php -m if the module is loaded
-
Ali about 3 yearsyou are my hero bro! thanks! after 2 hours...