Step 1:
yum search php-soap
result:
[root@oanhnhau ~]# yum search php-soap
Loaded plugins: fastestmirror, protectbase
Loading mirror speeds from cached hostfile
* epel: mirrors.solfo.com
* updates: mirror.5ninesolutions.com
* base: centos.mirror.freedomvoice.com
* addons: mirror.pac-12.org
* extras: mirrors.usc.edu
epel | 3.6 kB 00:00
32b030121b83fbe38c4fd0bcdbbe5334dfde766b-primary.sqlite. | 3.1 MB 00:00
0 packages excluded due to repository protections
============================== Matched: php-soap ===============================
php-soap.i386 : A module for PHP applications that use the SOAP protocol
php53-soap.i386 : A module for PHP applications that use the SOAP protocol
Step 2:
yum install php-soap.i386
result:
[root@oanhnhau ~]# yum install php-soap.i386
Loaded plugins: fastestmirror, protectbase
Loading mirror speeds from cached hostfile
* epel: mirrors.solfo.com
* updates: mirror.5ninesolutions.com
* base: centos.mirror.freedomvoice.com
* addons: mirror.pac-12.org
* extras: mirrors.usc.edu
0 packages excluded due to repository protections
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package php-soap.i386 0:5.2.17-24 set to be updated
--> Processing Dependency: php-common = 5.2.17-24 for package: php-soap
--> Running transaction check
--> Processing Dependency: php-common = 5.2.17-13 for package: php-mbstring
--> Processing Dependency: php-common = 5.2.17-13 for package: php-cli
--> Processing Dependency: php-common = 5.2.17-13 for package: php-mysql
--> Processing Dependency: php-common = 5.2.17-13 for package: php-xml
--> Processing Dependency: php-common = 5.2.17-13 for package: php-pdo
--> Processing Dependency: php-common = 5.2.17-13 for package: php-mcrypt
--> Processing Dependency: php-common = 5.2.17-13 for package: php
--> Processing Dependency: php-common = 5.2.17-13 for package: php-gd
--> Processing Dependency: php-common = 5.2.17-13 for package: php-imap
---> Package php-common.i386 0:5.2.17-24 set to be updated
--> Running transaction check
---> Package php-xml.i386 0:5.2.17-24 set to be updated
---> Package php-imap.i386 0:5.2.17-24 set to be updated
---> Package php.i386 0:5.2.17-24 set to be updated
---> Package php-gd.i386 0:5.2.17-24 set to be updated
--> Processing Dependency: php = 5.2.17-13 for package: php-devel
---> Package php-pdo.i386 0:5.2.17-24 set to be updated
---> Package php-mysql.i386 0:5.2.17-24 set to be updated
---> Package php-mcrypt.i386 0:5.2.17-24 set to be updated
---> Package php-cli.i386 0:5.2.17-24 set to be updated
---> Package php-mbstring.i386 0:5.2.17-24 set to be updated
--> Running transaction check
---> Package php-devel.i386 0:5.2.17-24 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
php-soap i386 5.2.17-24 lxcenter-updates 356 k
Updating:
php i386 5.2.17-24 lxcenter-updates 3.5 M
php-cli i386 5.2.17-24 lxcenter-updates 2.6 M
php-common i386 5.2.17-24 lxcenter-updates 581 k
php-devel i386 5.2.17-24 lxcenter-updates 555 k
php-gd i386 5.2.17-24 lxcenter-updates 345 k
php-imap i386 5.2.17-24 lxcenter-updates 111 k
php-mbstring i386 5.2.17-24 lxcenter-updates 1.3 M
php-mcrypt i386 5.2.17-24 lxcenter-updates 50 k
php-mysql i386 5.2.17-24 lxcenter-updates 270 k
php-pdo i386 5.2.17-24 lxcenter-updates 168 k
php-xml i386 5.2.17-24 lxcenter-updates 380 k
Transaction Summary
================================================================================
Install 1 Package(s)
Update 11 Package(s)
Remove 0 Package(s)
Total download size: 10 M
Is this ok [y/N]: y
Downloading Packages:
(1/12): php-mcrypt-5.2.17-24.i386.rpm | 50 kB 00:00
(2/12): php-imap-5.2.17-24.i386.rpm | 111 kB 00:00
(3/12): php-pdo-5.2.17-24.i386.rpm | 168 kB 00:00
(4/12): php-mysql-5.2.17-24.i386.rpm | 270 kB 00:01
(5/12): php-gd-5.2.17-24.i386.rpm | 345 kB 00:01
(6/12): php-soap-5.2.17-24.i386.rpm | 356 kB 00:00
(7/12): php-xml-5.2.17-24.i386.rpm | 380 kB 00:00
(8/12): php-devel-5.2.17-24.i386.rpm | 555 kB 00:01
(9/12): php-common-5.2.17-24.i386.rpm | 581 kB 00:02
(10/12): php-mbstring-5.2.17-24.i386.rpm | 1.3 MB 00:06
(11/12): php-cli-5.2.17-24.i386.rpm | 2.6 MB 00:12
(12/12): php-5.2.17-24.i386.rpm | 3.5 MB 00:16
--------------------------------------------------------------------------------
Total 216 kB/s | 10 MB 00:48
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : php-common [ 1/23]
Updating : php-pdo [ 2/23]
Updating : php-cli [ 3/23]
Updating : php [ 4/23]
Installing : php-soap [ 5/23]
Updating : php-mbstring [ 6/23]
Updating : php-devel [ 7/23]
Updating : php-mcrypt [ 8/23]
Updating : php-xml [ 9/23]
Updating : php-gd [10/23]
Updating : php-imap [11/23]
Updating : php-mysql [12/23]
Cleanup : php-cli [13/23]
Cleanup : php-common [14/23]
Cleanup : php-mbstring [15/23]
Cleanup : php-devel [16/23]
Cleanup : php-mcrypt [17/23]
Cleanup : php [18/23]
Cleanup : php-xml [19/23]
Cleanup : php-pdo [20/23]
Cleanup : php-gd [21/23]
Cleanup : php-imap [22/23]
Cleanup : php-mysql [23/23]
Installed: php-soap.i386 0:5.2.17-24
Updated: php.i386 0:5.2.17-24 php-cli.i386 0:5.2.17-24 php-common.i386 0:5.2.17-
24 php-devel.i386 0:5.2.17-24 php-gd.i386 0:5.2.17-24 php-imap.i386 0:5.2.17-24
php-mbstring.i386 0:5.2.17-24 php-mcrypt.i386 0:5.2.17-24 php-mysql.i386 0:5.2.1
7-24 php-pdo.i386 0:5.2.17-24 php-xml.i386 0:5.2.17-24
Complete!
Step 3: restart httpd
service httpd restart
Now you can see soap module in phpinfo()