Linux Administrator

How to Install PHP Soap on CentOS 7

php-soap
mm
Written by Santosh Prasad

Soap is stands for Simple Object Access Protocol. It is a lightweight XML based protocol for exchanging structured information between distributed application over native web protocols like HTTP. It mostly used in popular application like Megento and SalesForce.

In this article I will show you how to install PHP Soap on CentOS 7.

Install PHP Soap

Follow the below steps to install PHP Soap.

1. Access your server as the root user using SSH.

2. Install the latest EPEL repository. Follow the below link to install EPEL repository on system.

3. Next after installing repository follow the below command to install php-soap.

# yum install php-soap

You will some output like below:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.overthewire.com.au
 * epel: mirror.overthewire.com.au
 * extras: centos.mirror.uber.com.au
 * updates: mirror.overthewire.com.au
Resolving Dependencies
--> Running transaction check
---> Package php-soap.x86_64 0:5.4.16-23.el7_0.3 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================
 Package       Arch       Version               Repository    Size
==================================================================
Installing:
 php-soap      x86_64     5.4.16-23.el7_0.3     base         155 k

Transaction Summary
==================================================================
Install  1 Package

Total download size: 155 k
Installed size: 336 k
Is this ok [y/d/N]: y
Downloading packages:
php-soap-5.4.16-23.el7_0.3.x86_64.rpm          | 155 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : php-soap-5.4.16-23.el7_0.3.x86_64              1/1 
  Verifying  : php-soap-5.4.16-23.el7_0.3.x86_64              1/1 

Installed:
  php-soap.x86_64 0:5.4.16-23.el7_0.3 
Complete!

4. Now restart Apache service.

# systemctl restart httpd

5. Verify the Soap installation using below command.

# php -m | grep -i soap
soap
Thank you! for visiting Look Linux.

If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www.looklinux.com. To become an author at Look Linux Submit Article. Stay connected to Facebook.

About the author

mm

Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Leave a Comment