{"id":1458,"date":"2014-12-24T00:54:31","date_gmt":"2014-12-24T00:54:31","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=1458"},"modified":"2014-12-24T00:54:31","modified_gmt":"2014-12-24T00:54:31","slug":"install-php-soap","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/12\/24\/install-php-soap\/","title":{"rendered":"Install php-soap"},"content":{"rendered":"<p>On CentOS:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# yum install php-soap\n<\/pre>\n<p>If you get this error:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# yum install php-soap\nLoaded plugins: fastestmirror, priorities, security\nSetting up Install Process\nLoading mirror speeds from cached hostfile\n * base: mirrors.usc.edu\n * extras: centos.sonn.com\n * updates: centos-distro.cavecreek.net\nResolving Dependencies\n--&gt; Running transaction check\n---&gt; Package php-soap.x86_64 0:5.3.3-40.el6_6 will be installed\n--&gt; Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-soap-5.3.3-40.el6_6.x86_64\n--&gt; Finished Dependency Resolution\nError: Package: php-soap-5.3.3-40.el6_6.x86_64 (updates)\n           Requires: php-common(x86-64) = 5.3.3-40.el6_6\n           Installed: php-common-5.4.19-25.el6.art.x86_64 (@atomic)\n               php-common(x86-64) = 5.4.19-25.el6.art\n           Available: php-common-5.3.3-38.el6.x86_64 (base)\n               php-common(x86-64) = 5.3.3-38.el6\n           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)\n               php-common(x86-64) = 5.3.3-40.el6_6\n You could try using --skip-broken to work around the problem\n You could try running: rpm -Va --nofiles --nodigest\n\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nyum.repos.d]# php -v\nPHP 5.4.19 (cli) (built: Aug 27 2013 18:40:41)\nCopyright (c) 1997-2013 The PHP Group\nZend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies\n    with the ionCube PHP Loader v4.6.0, Copyright (c) 2002-2014, by ionCube Ltd.\n&#x5B;root@69-64-67-20 yum.repos.d]# yum list available | grep soap\nglite-lbjp-common-gsoap-plugin.i686        3.2.12-1.el6                  epel\nglite-lbjp-common-gsoap-plugin.x86_64      3.2.12-1.el6                  epel\nglite-lbjp-common-gsoap-plugin-devel.i686  3.2.12-1.el6                  epel\nglite-lbjp-common-gsoap-plugin-devel.x86_64\ngsoap.i686                                 2.7.16-4.el6                  epel\ngsoap.x86_64                               2.7.16-4.el6                  epel\ngsoap-devel.i686                           2.7.16-4.el6                  epel\ngsoap-devel.x86_64                         2.7.16-4.el6                  epel\nphp-soap.x86_64                            5.3.3-40.el6_6                updates\npython-soaplib.noarch                      0.8.1-4.el6                   epel\nqtsoap.i686                                2.7-3.el6                     epel\nqtsoap.x86_64                              2.7-3.el6                     epel\nqtsoap-devel.i686                          2.7-3.el6                     epel\nqtsoap-devel.x86_64                        2.7-3.el6                     epel\n&#x5B;root@69-64-67-20 yum.repos.d]# yum list available | grep soap\nglite-lbjp-common-gsoap-plugin.i686        3.2.12-1.el6                  epel\nglite-lbjp-common-gsoap-plugin.x86_64      3.2.12-1.el6                  epel\nglite-lbjp-common-gsoap-plugin-devel.i686  3.2.12-1.el6                  epel\nglite-lbjp-common-gsoap-plugin-devel.x86_64\ngsoap.i686                                 2.7.16-4.el6                  epel\ngsoap.x86_64                               2.7.16-4.el6                  epel\ngsoap-devel.i686                           2.7.16-4.el6                  epel\ngsoap-devel.x86_64                         2.7.16-4.el6                  epel\nphp-soap.x86_64                            5.3.3-40.el6_6                updates\npython-soaplib.noarch                      0.8.1-4.el6                   epel\nqtsoap.i686                                2.7-3.el6                     epel\nqtsoap.x86_64                              2.7-3.el6                     epel\nqtsoap-devel.i686                          2.7-3.el6                     epel\nqtsoap-devel.x86_64                        2.7-3.el6                     epel\n\n<\/pre>\n<p>Checking the repos, I had to enable the atomic repo \/etc\/yum.repos.d\/atomic.repo<\/p>\n<p>Then the installtion would work with the update:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nInstalling:\nphp-soap x86_64 5.4.39-45.el6.art atomic 223 k\nUpdating for dependencies:\nphp x86_64 5.4.39-45.el6.art atomic 2.7 M\nphp-cli x86_64 5.4.39-45.el6.art atomic 2.6 M\nphp-common x86_64 5.4.39-45.el6.art atomic 935 k\nphp-gd x86_64 5.4.39-45.el6.art atomic 144 k\nphp-imap x86_64 5.4.39-45.el6.art atomic 80 k\nphp-mbstring x86_64 5.4.39-45.el6.art atomic 945 k\nphp-mysql x86_64 5.4.39-45.el6.art atomic 136 k\nphp-pdo x86_64 5.4.39-45.el6.art atomic 121 k\nphp-xml x86_64 5.4.39-45.el6.art atomic 172 k\n<\/pre>\n<p>Verify:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# php - | grep soap\nsoap\nsoap.wsdl_cache =&gt; 1 =&gt; 1\nsoap.wsdl_cache_dir =&gt; \/tmp =&gt; \/tmp\nsoap.wsdl_cache_enabled =&gt; 1 =&gt; 1\nsoap.wsdl_cache_limit =&gt; 5 =&gt; 5\n\n<\/pre>\n<p>Now restart apache<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# service httpd restart\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8211;&gt; Running transaction check &#8212;&gt; Package php-soap.x86_64 0:5.3.3-40.el6_6 will be installed &#8211;&gt; Processing Dependency: &#8230; <a title=\"Install php-soap\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2014\/12\/24\/install-php-soap\/\" aria-label=\"Read more about Install php-soap\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[84],"tags":[],"class_list":["post-1458","post","type-post","status-publish","format-standard","hentry","category-php"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=1458"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1458\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=1458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=1458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=1458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}