Install php-soap

On CentOS:

# yum install php-soap

If you get this error:

# yum install php-soap
Loaded plugins: fastestmirror, priorities, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirrors.usc.edu
 * extras: centos.sonn.com
 * updates: centos-distro.cavecreek.net
Resolving Dependencies
--> Running transaction check
---> Package php-soap.x86_64 0:5.3.3-40.el6_6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-soap-5.3.3-40.el6_6.x86_64
--> Finished Dependency Resolution
Error: Package: php-soap-5.3.3-40.el6_6.x86_64 (updates)
           Requires: php-common(x86-64) = 5.3.3-40.el6_6
           Installed: php-common-5.4.19-25.el6.art.x86_64 (@atomic)
               php-common(x86-64) = 5.4.19-25.el6.art
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php-common(x86-64) = 5.3.3-38.el6
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php-common(x86-64) = 5.3.3-40.el6_6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

yum.repos.d]# php -v
PHP 5.4.19 (cli) (built: Aug 27 2013 18:40:41)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd.
[root@69-64-67-20 yum.repos.d]# yum list available | grep soap
glite-lbjp-common-gsoap-plugin.i686        3.2.12-1.el6                  epel
glite-lbjp-common-gsoap-plugin.x86_64      3.2.12-1.el6                  epel
glite-lbjp-common-gsoap-plugin-devel.i686  3.2.12-1.el6                  epel
glite-lbjp-common-gsoap-plugin-devel.x86_64
gsoap.i686                                 2.7.16-4.el6                  epel
gsoap.x86_64                               2.7.16-4.el6                  epel
gsoap-devel.i686                           2.7.16-4.el6                  epel
gsoap-devel.x86_64                         2.7.16-4.el6                  epel
php-soap.x86_64                            5.3.3-40.el6_6                updates
python-soaplib.noarch                      0.8.1-4.el6                   epel
qtsoap.i686                                2.7-3.el6                     epel
qtsoap.x86_64                              2.7-3.el6                     epel
qtsoap-devel.i686                          2.7-3.el6                     epel
qtsoap-devel.x86_64                        2.7-3.el6                     epel
[root@69-64-67-20 yum.repos.d]# yum list available | grep soap
glite-lbjp-common-gsoap-plugin.i686        3.2.12-1.el6                  epel
glite-lbjp-common-gsoap-plugin.x86_64      3.2.12-1.el6                  epel
glite-lbjp-common-gsoap-plugin-devel.i686  3.2.12-1.el6                  epel
glite-lbjp-common-gsoap-plugin-devel.x86_64
gsoap.i686                                 2.7.16-4.el6                  epel
gsoap.x86_64                               2.7.16-4.el6                  epel
gsoap-devel.i686                           2.7.16-4.el6                  epel
gsoap-devel.x86_64                         2.7.16-4.el6                  epel
php-soap.x86_64                            5.3.3-40.el6_6                updates
python-soaplib.noarch                      0.8.1-4.el6                   epel
qtsoap.i686                                2.7-3.el6                     epel
qtsoap.x86_64                              2.7-3.el6                     epel
qtsoap-devel.i686                          2.7-3.el6                     epel
qtsoap-devel.x86_64                        2.7-3.el6                     epel

Checking the repos, I had to enable the atomic repo /etc/yum.repos.d/atomic.repo

Then the installtion would work with the update:

Installing:
php-soap x86_64 5.4.39-45.el6.art atomic 223 k
Updating for dependencies:
php x86_64 5.4.39-45.el6.art atomic 2.7 M
php-cli x86_64 5.4.39-45.el6.art atomic 2.6 M
php-common x86_64 5.4.39-45.el6.art atomic 935 k
php-gd x86_64 5.4.39-45.el6.art atomic 144 k
php-imap x86_64 5.4.39-45.el6.art atomic 80 k
php-mbstring x86_64 5.4.39-45.el6.art atomic 945 k
php-mysql x86_64 5.4.39-45.el6.art atomic 136 k
php-pdo x86_64 5.4.39-45.el6.art atomic 121 k
php-xml x86_64 5.4.39-45.el6.art atomic 172 k

Verify:

# php - | grep soap
soap
soap.wsdl_cache => 1 => 1
soap.wsdl_cache_dir => /tmp => /tmp
soap.wsdl_cache_enabled => 1 => 1
soap.wsdl_cache_limit => 5 => 5

Now restart apache

# service httpd restart

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.