试过这个:
yum install php-soap
说:
没有包PHP的肥皂可用。
然后试试这个:
yum --enablerepo=centosplus install php-soap
还是一样的! 试过这个:
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
仍然没有运气。 伙计们,包含所需软件包的回购站在哪里?
服务器在vps.net btw …
首先打开/etc/yum.conf文件。 find排除行并擦除php *命令,然后保存文件。
然后,'yum install php-soap'命令应该可以工作。
穆罕默德(Mehmet)评论: http ://www.wallpaperama.com/forums/how-to-install-php-soap-extension-in-apache-linux-php-server-remove-t1756.html
为我工作:)
我认为,remi回购是你在找什么。
Remi依赖于CentOS 6和Red Hat(RHEL)6
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
CentOS 6和Red Hat(RHEL)6
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Remi依赖于CentOS 5和Red Hat(RHEL)5
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
CentOS 5和Red Hat(RHEL)5
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
我已经在CentOS 5的epel和rpmforge回购站了。你试过–enablerepo:
yum --enablerepo=epel install php-soap