How To Install php-ZendFramework-Soap on CentOS 7

In this tutorial we learn how to install php-ZendFramework-Soap on CentOS 7. php-ZendFramework-Soap is SOAP web services server part helper

Introduction

In this tutorial we learn how to install php-ZendFramework-Soap on CentOS 7.

What is php-ZendFramework-Soap

Zend_Soap_Server class is intended to simplify Web Services server part development for PHP programmers. It may be used in WSDL or non-WSDL mode, and using classes or functions to define Web Service API. When Zend_Soap_Server component works in the WSDL mode, it uses already prepared WSDL document to define server object behavior and transport layer options. WSDL document may be auto-generated with functionality provided by Zend_Soap_AutoDiscovery component or should be constructed manually using Zend_Soap_Wsdl class or any other XML generating tool. If the non-WSDL mode is used, then all protocol options have to be set using options mechanism.

We can use yum or dnf to install php-ZendFramework-Soap on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install php-ZendFramework-Soap.

Install php-ZendFramework-Soap on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install php-ZendFramework-Soap using yum by running the following command:

sudo yum -y install php-ZendFramework-Soap

Install php-ZendFramework-Soap on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install php-ZendFramework-Soap using dnf by running the following command:

sudo dnf -y install php-ZendFramework-Soap

How To Uninstall php-ZendFramework-Soap on CentOS 7

To uninstall only the php-ZendFramework-Soap package we can use the following command:

sudo dnf remove php-ZendFramework-Soap

References

Summary

In this tutorial we learn how to install php-ZendFramework-Soap on CentOS 7 using yum and dnf.