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.

yum install php-soap

results in "No package php-soap available" warning. Removing "exclude =php*" from /etc/yum.conf results in confirmation to install php-soap & php-common VERSION 5.1.6-39.el5_8.

I'm afraid to install php components with version 5.1.6* in an OS with php 5.2.17. Should I be? Won't earlier 5.1.6* components cause problems with later 5.2.17 php environment?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

I'd recommend you use the distro supplied php packages. php-soap is a valid package. Seems like you installed php 5.2.x from another repository. Do not use packages from an older version of PHP on a newer one. This will have compatibility issues.

Do a,

# yum clean all
# yum search php-soap
# yum install php-soap

If the above doesn't work, there are multiple alternatives,

  1. Check if the repository where you downloaded php-5.2, has a php-soap package

  2. Upgrade to CentOS 6.3 (if this is an option) for later version of php from the distro which is php-5.3.3

  3. Stick with CentOS 5.6 and use distro supplied php 5.1 packages

  4. There are other 3rd party repositories offering php53 and php54 packages that you may want to try that might have php-soap

  5. Compile php by yourself including the php-soap package from source

share|improve this answer
    
Odd that CPanel's autoupdate facility doesn't include php-soap in the repository. –  Sophie Fromage Aug 20 '12 at 18:25

Go back to wherever you got the php-5.2 packages and find the matching php-soap package.

share|improve this answer
    
All OS components, including php, were installed as part of automatically recurring CPanel upgrades. Where do CPanel upgrade packages come from? What is the command to yum from a specific package and/or add a package without yum? –  Sophie Fromage Aug 19 '12 at 15:49
    
The following appears to describe a proper package, but how exactly to use it to install? rpm.pbone.net/index.php3/stat/4/idpl/14957048/dir/redhat_el_5/… –  Sophie Fromage Aug 19 '12 at 16:00

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.