Installation PHP SOAP on CentOS7 in PHP7

Install PHP SOAP on CentOS7 in PHP7Install "php-soap":
============
sudo yum install php70w-soap

Terminal:
=======
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.digistar.vn
* epel: epel.mirror.srv.co.ge
* extras: centos-hn.viettelidc.com.vn
* nux-dextop: mirror.li.nux.ro
* updates: mirror.digistar.vn
* webtatic: sp.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php70w-soap.x86_64 0:7.0.3-1.w7 will be installed
--> Processing Dependency: php70w-common(x86-64) = 7.0.3-1.w7 for package: php70w-soap-7.0.3-1.w7.x86_64
--> Running transaction check
---> Package php70w-common.x86_64 0:7.0.2-1.w7 will be updated
--> Processing Dependency: php70w-common(x86-64) = 7.0.2-1.w7 for package: php70w-gd-7.0.2-1.w7.x86_64
--> Processing Dependency: php70w-common(x86-64) = 7.0.2-1.w7 for package: php70w-process-7.0.2-1.w7.x86_64
--> Processing Dependency: php70w-common(x86-64) = 7.0.2-1.w7 for package: php70w-opcache-7.0.2-1.w7.x86_64
--> Processing Dependency: php70w-common(x86-64) = 7.0.2-1.w7 for package: php70w-tidy-7.0.2-1.w7.x86_64
--> Processing Dependency: php70w-common(x86-64) = 7.0.2-1.w7 for package: php70w-pdo-7.0.2-1.w7.x86_64
--> Processing Dependency: php70w-common(x86-64) = 7.0.2-1.w7 for package: php70w-bcmath-7.0.2-1.w7.x86_64
--> Processing Dependency: php70w-common(x86-64) = 7.0.2-1.w7 for package: php70w-xml-7.0.2-1.w7.x86_64
--> Processing Dependency: php70w-common(x86-64) = 7.0.2-1.w7 for package: php70w-mbstring-7.0.2-1.w7.x86_64
--> Processing Dependency: php70w-common(x86-64) = 7.0.2-1.w7 for package: php70w-7.0.2-1.w7.x86_64
--> Processing Dependency: php70w-common(x86-64) = 7.0.2-1.w7 for package: php70w-cli-7.0.2-1.w7.x86_64
---> Package php70w-common.x86_64 0:7.0.3-1.w7 will be an update
--> Running transaction check
---> Package php70w.x86_64 0:7.0.2-1.w7 will be updated
---> Package php70w.x86_64 0:7.0.3-1.w7 will be an update
---> Package php70w-bcmath.x86_64 0:7.0.2-1.w7 will be updated
---> Package php70w-bcmath.x86_64 0:7.0.3-1.w7 will be an update
---> Package php70w-cli.x86_64 0:7.0.2-1.w7 will be updated
---> Package php70w-cli.x86_64 0:7.0.3-1.w7 will be an update
---> Package php70w-gd.x86_64 0:7.0.2-1.w7 will be updated
---> Package php70w-gd.x86_64 0:7.0.3-1.w7 will be an update
---> Package php70w-mbstring.x86_64 0:7.0.2-1.w7 will be updated
---> Package php70w-mbstring.x86_64 0:7.0.3-1.w7 will be an update
---> Package php70w-opcache.x86_64 0:7.0.2-1.w7 will be updated
---> Package php70w-opcache.x86_64 0:7.0.3-1.w7 will be an update
---> Package php70w-pdo.x86_64 0:7.0.2-1.w7 will be updated
---> Package php70w-pdo.x86_64 0:7.0.3-1.w7 will be an update
---> Package php70w-process.x86_64 0:7.0.2-1.w7 will be updated
---> Package php70w-process.x86_64 0:7.0.3-1.w7 will be an update
---> Package php70w-tidy.x86_64 0:7.0.2-1.w7 will be updated
---> Package php70w-tidy.x86_64 0:7.0.3-1.w7 will be an update
---> Package php70w-xml.x86_64 0:7.0.2-1.w7 will be updated
---> Package php70w-xml.x86_64 0:7.0.3-1.w7 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
php70w-soap x86_64 7.0.3-1.w7 webtatic 172 k
Updating for dependencies:
php70w x86_64 7.0.3-1.w7 webtatic 2.8 M
php70w-bcmath x86_64 7.0.3-1.w7 webtatic 35 k
php70w-cli x86_64 7.0.3-1.w7 webtatic 2.8 M
php70w-common x86_64 7.0.3-1.w7 webtatic 1.2 M
php70w-gd x86_64 7.0.3-1.w7 webtatic 135 k
php70w-mbstring x86_64 7.0.3-1.w7 webtatic 540 k
php70w-opcache x86_64 7.0.3-1.w7 webtatic 122 k
php70w-pdo x86_64 7.0.3-1.w7 webtatic 89 k
php70w-process x86_64 7.0.3-1.w7 webtatic 40 k
php70w-tidy x86_64 7.0.3-1.w7 webtatic 29 k
php70w-xml x86_64 7.0.3-1.w7 webtatic 127 k

Transaction Summary
================================================================================
Install 1 Package
Upgrade ( 11 Dependent packages)

Total download size: 8.1 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for webtatic
(1/12): php70w-bcmath-7.0.3-1.w7.x86_64.rpm | 35 kB 00:00
(2/12): php70w-gd-7.0.3-1.w7.x86_64.rpm | 135 kB 00:00
(3/12): php70w-mbstring-7.0.3-1.w7.x86_64.rpm | 540 kB 00:00
(4/12): php70w-opcache-7.0.3-1.w7.x86_64.rpm | 122 kB 00:00
(5/12): php70w-pdo-7.0.3-1.w7.x86_64.rpm | 89 kB 00:00
(6/12): php70w-process-7.0.3-1.w7.x86_64.rpm | 40 kB 00:00
(7/12): php70w-soap-7.0.3-1.w7.x86_64.rpm | 172 kB 00:00
(8/12): php70w-tidy-7.0.3-1.w7.x86_64.rpm | 29 kB 00:00
(9/12): php70w-7.0.3-1.w7.x86_64.rpm | 2.8 MB 00:01
(10/12): php70w-xml-7.0.3-1.w7.x86_64.rpm | 127 kB 00:00
(11/12): php70w-common-7.0.3-1.w7.x86_64.rpm | 1.2 MB 00:04
(12/12): php70w-cli-7.0.3-1.w7.x86_64.rpm | 2.8 MB 00:06
--------------------------------------------------------------------------------
Total 1.3 MB/s | 8.1 MB 00:06
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : php70w-common-7.0.3-1.w7.x86_64 1/23
Updating : php70w-cli-7.0.3-1.w7.x86_64 2/23
Updating : php70w-7.0.3-1.w7.x86_64 3/23
Updating : php70w-gd-7.0.3-1.w7.x86_64 4/23
Updating : php70w-process-7.0.3-1.w7.x86_64 5/23
Updating : php70w-tidy-7.0.3-1.w7.x86_64 6/23
Updating : php70w-opcache-7.0.3-1.w7.x86_64 7/23
Updating : php70w-bcmath-7.0.3-1.w7.x86_64 8/23
Updating : php70w-xml-7.0.3-1.w7.x86_64 9/23
Updating : php70w-mbstring-7.0.3-1.w7.x86_64 10/23
Updating : php70w-pdo-7.0.3-1.w7.x86_64 11/23
Installing : php70w-soap-7.0.3-1.w7.x86_64 12/23
Cleanup : php70w-7.0.2-1.w7.x86_64 13/23
Cleanup : php70w-cli-7.0.2-1.w7.x86_64 14/23
Cleanup : php70w-pdo-7.0.2-1.w7.x86_64 15/23
Cleanup : php70w-mbstring-7.0.2-1.w7.x86_64 16/23
Cleanup : php70w-xml-7.0.2-1.w7.x86_64 17/23
Cleanup : php70w-bcmath-7.0.2-1.w7.x86_64 18/23
Cleanup : php70w-opcache-7.0.2-1.w7.x86_64 19/23
Cleanup : php70w-tidy-7.0.2-1.w7.x86_64 20/23
Cleanup : php70w-process-7.0.2-1.w7.x86_64 21/23
Cleanup : php70w-gd-7.0.2-1.w7.x86_64 22/23
Cleanup : php70w-common-7.0.2-1.w7.x86_64 23/23
Verifying : php70w-7.0.3-1.w7.x86_64 1/23
Verifying : php70w-gd-7.0.3-1.w7.x86_64 2/23
Verifying : php70w-cli-7.0.3-1.w7.x86_64 3/23
Verifying : php70w-process-7.0.3-1.w7.x86_64 4/23
Verifying : php70w-tidy-7.0.3-1.w7.x86_64 5/23
Verifying : php70w-opcache-7.0.3-1.w7.x86_64 6/23
Verifying : php70w-bcmath-7.0.3-1.w7.x86_64 7/23
Verifying : php70w-xml-7.0.3-1.w7.x86_64 8/23
Verifying : php70w-mbstring-7.0.3-1.w7.x86_64 9/23
Verifying : php70w-common-7.0.3-1.w7.x86_64 10/23
Verifying : php70w-pdo-7.0.3-1.w7.x86_64 11/23
Verifying : php70w-soap-7.0.3-1.w7.x86_64 12/23
Verifying : php70w-7.0.2-1.w7.x86_64 13/23
Verifying : php70w-bcmath-7.0.2-1.w7.x86_64 14/23
Verifying : php70w-mbstring-7.0.2-1.w7.x86_64 15/23
Verifying : php70w-xml-7.0.2-1.w7.x86_64 16/23
Verifying : php70w-common-7.0.2-1.w7.x86_64 17/23
Verifying : php70w-gd-7.0.2-1.w7.x86_64 18/23
Verifying : php70w-pdo-7.0.2-1.w7.x86_64 19/23
Verifying : php70w-cli-7.0.2-1.w7.x86_64 20/23
Verifying : php70w-process-7.0.2-1.w7.x86_64 21/23
Verifying : php70w-tidy-7.0.2-1.w7.x86_64 22/23
Verifying : php70w-opcache-7.0.2-1.w7.x86_64 23/23

Installed:
php70w-soap.x86_64 0:7.0.3-1.w7

Dependency Updated:
php70w.x86_64 0:7.0.3-1.w7 php70w-bcmath.x86_64 0:7.0.3-1.w7
php70w-cli.x86_64 0:7.0.3-1.w7 php70w-common.x86_64 0:7.0.3-1.w7
php70w-gd.x86_64 0:7.0.3-1.w7 php70w-mbstring.x86_64 0:7.0.3-1.w7
php70w-opcache.x86_64 0:7.0.3-1.w7 php70w-pdo.x86_64 0:7.0.3-1.w7
php70w-process.x86_64 0:7.0.3-1.w7 php70w-tidy.x86_64 0:7.0.3-1.w7
php70w-xml.x86_64 0:7.0.3-1.w7

Complete!

Restart Apache:
===========
systemctl restart httpd

Check if SOAP enabled or not:
=====================
php -m | grep -i soap
soap

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
7 + 12 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.