How to install PHP5.6 php-fpm on Centos 7


Step 1:

sudo yum update

Result:

[root@tutorialspots ~]# sudo yum update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: ftp.plusline.de
 * epel: epel.vpsnet.lt
 * extras: mirror.de.leaseweb.net
 * remi-safe: nl.mirror.babylon.network
 * updates: mirror.tobias-wollmann.com
11873 packages excluded due to repository priority protections
No packages marked for update

Step 2:

sudo yum groupinstall "Development tools"

Result:

[root@tutorialspots ~]# sudo yum groupinstall "Development tools"
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: ftp.plusline.de
 * epel: mirrors.n-ix.net
 * extras: mirror.de.leaseweb.net
 * remi-safe: nl.mirror.babylon.network
 * updates: mirror.tobias-wollmann.com
11873 packages excluded due to repository priority protections
Maybe run: yum groups mark install (see man yum)
No packages in any requested group available to install or update

Step 3:

yum install epel-release

Step 4:

wget https://centos7.iuscommunity.org/ius-release.rpm && sudo rpm -Uvh ius-release.rpm

Result:

[root@tutorialspots ~]# wget https://centos7.iuscommunity.org/ius-release.r
pm && sudo rpm -Uvh ius-release.rpm
--2017-05-11 15:24:32--  https://centos7.iuscommunity.org/ius-release.rpm
Resolving centos7.iuscommunity.org (centos7.iuscommunity.org)... 162.242.221.48,
 2001:4802:7801:102:be76:4eff:fe21:14aa
Connecting to centos7.iuscommunity.org (centos7.iuscommunity.org)|162.242.221.48
|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://dl.iuscommunity.org/pub/ius/stable/CentOS/7/x86_64/ius-release
-1.0-15.ius.centos7.noarch.rpm [following]
--2017-05-11 15:24:33--  https://dl.iuscommunity.org/pub/ius/stable/CentOS/7/x86
_64/ius-release-1.0-15.ius.centos7.noarch.rpm
Resolving dl.iuscommunity.org (dl.iuscommunity.org)... 146.20.25.47, 2001:4802:7
901:0:4ccc:ff11:0:a
Connecting to dl.iuscommunity.org (dl.iuscommunity.org)|146.20.25.47|:443... con
nected.
HTTP request sent, awaiting response... 200 OK
Length: 8340 (8.1K) [application/x-redhat-package-manager]
Saving to: `ius-release.rpm'

100%[======================================>] 8,340       --.-K/s   in 0s

2017-05-11 15:24:33 (115 MB/s) - `ius-release.rpm' saved [8340/8340]

warning: ius-release.rpm: Header V4 DSA/SHA1 Signature, key ID 9cd4953f: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:ius-release-1.0-15.ius.centos7   ################################# [100%]

install php56 php fpm centos7

Step 5:

yum update

Step 6:

sudo yum install php56u php56u-devel php56u-fpm php56u-gd php56u-mbstring php56u-mcrypt php56u-mysql php56u-pdo php56u-opcache php56u-pear php56u-xml php56u-xmlrpc php56u-memcached

Result:

[root@tutorialspots ~]# sudo yum install php56u php56u-devel php56u-fpm php
56u-gd php56u-mbstring php56u-mcrypt php56u-mysql php56u-pdo php56u-opcache php5
6u-pear php56u-xml php56u-xmlrpc php56u-memcached
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: ftp.plusline.de
 * epel: mirrors.n-ix.net
 * extras: mirror.de.leaseweb.net
 * ius: mirrors.ircam.fr
 * remi-safe: mirror.23media.de
 * updates: mirror.tobias-wollmann.com
11873 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package php56u.x86_64 0:5.6.30-2.ius.centos7 will be installed
--> Processing Dependency: httpd-mmn = 20120211x8664 for package: php56u-5.6.30-
2.ius.centos7.x86_64
--> Processing Dependency: httpd-mmn = 20120211x8664 for package: php56u-5.6.30-
2.ius.centos7.x86_64
--> Processing Dependency: php56u-cli(x86-64) = 5.6.30-2.ius.centos7 for package
: php56u-5.6.30-2.ius.centos7.x86_64
--> Processing Dependency: php56u-common(x86-64) = 5.6.30-2.ius.centos7 for pack
age: php56u-5.6.30-2.ius.centos7.x86_64
---> Package php56u-devel.x86_64 0:5.6.30-2.ius.centos7 will be installed
--> Processing Dependency: php56u-pecl-jsonc-devel(x86-64) for package: php56u-d
evel-5.6.30-2.ius.centos7.x86_64
---> Package php56u-fpm.x86_64 0:5.6.30-2.ius.centos7 will be installed
---> Package php56u-gd.x86_64 0:5.6.30-2.ius.centos7 will be installed
--> Processing Dependency: libt1.so.5()(64bit) for package: php56u-gd-5.6.30-2.i
us.centos7.x86_64
--> Processing Dependency: libvpx.so.1()(64bit) for package: php56u-gd-5.6.30-2.
ius.centos7.x86_64
---> Package php56u-mbstring.x86_64 0:5.6.30-2.ius.centos7 will be installed
---> Package php56u-mcrypt.x86_64 0:5.6.30-2.ius.centos7 will be installed
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php56u-mcrypt-5.
6.30-2.ius.centos7.x86_64
---> Package php56u-mysqlnd.x86_64 0:5.6.30-2.ius.centos7 will be installed
---> Package php56u-opcache.x86_64 0:5.6.30-2.ius.centos7 will be installed
---> Package php56u-pdo.x86_64 0:5.6.30-2.ius.centos7 will be installed
---> Package php56u-pear.noarch 1:1.10.3-1.ius.centos7 will be installed
--> Processing Dependency: php56u-posix for package: 1:php56u-pear-1.10.3-1.ius.
centos7.noarch
---> Package php56u-pecl-memcached.x86_64 0:2.2.0-6.ius.centos7 will be installe
d
--> Processing Dependency: php56u-json(x86-64) for package: php56u-pecl-memcache
d-2.2.0-6.ius.centos7.x86_64
--> Processing Dependency: php56u-pecl-igbinary(x86-64) for package: php56u-pecl
-memcached-2.2.0-6.ius.centos7.x86_64
--> Processing Dependency: libmemcached.so.11()(64bit) for package: php56u-pecl-
memcached-2.2.0-6.ius.centos7.x86_64
--> Processing Dependency: libmemcachedutil.so.2()(64bit) for package: php56u-pe
cl-memcached-2.2.0-6.ius.centos7.x86_64
---> Package php56u-xml.x86_64 0:5.6.30-2.ius.centos7 will be installed
---> Package php56u-xmlrpc.x86_64 0:5.6.30-2.ius.centos7 will be installed
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-45.el7.centos.4 will be installed
--> Processing Dependency: httpd-tools = 2.4.6-45.el7.centos.4 for package: http
d-2.4.6-45.el7.centos.4.x86_64
---> Package libmcrypt.x86_64 0:2.5.8-13.el7 will be installed
---> Package libmemcached.x86_64 0:1.0.16-5.el7 will be installed
---> Package libvpx.x86_64 0:1.3.0-5.el7_0 will be installed
---> Package php56u-cli.x86_64 0:5.6.30-2.ius.centos7 will be installed
---> Package php56u-common.x86_64 0:5.6.30-2.ius.centos7 will be installed
---> Package php56u-pecl-igbinary.x86_64 0:2.0.1-1.ius.centos7 will be installed
---> Package php56u-pecl-jsonc.x86_64 0:1.3.10-2.ius.centos7 will be installed
---> Package php56u-pecl-jsonc-devel.x86_64 0:1.3.10-2.ius.centos7 will be insta
lled
---> Package php56u-process.x86_64 0:5.6.30-2.ius.centos7 will be installed
---> Package t1lib.x86_64 0:5.1.2-14.el7 will be installed
--> Running transaction check
---> Package httpd-tools.x86_64 0:2.4.6-45.el7.centos.4 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                 Arch   Version                Repository          Size
================================================================================
Installing:
 php56u                  x86_64 5.6.30-2.ius.centos7   ius                2.6 M
 php56u-devel            x86_64 5.6.30-2.ius.centos7   ius                1.0 M
 php56u-fpm              x86_64 5.6.30-2.ius.centos7   ius                1.4 M
 php56u-gd               x86_64 5.6.30-2.ius.centos7   ius                196 k
 php56u-mbstring         x86_64 5.6.30-2.ius.centos7   ius                577 k
 php56u-mcrypt           x86_64 5.6.30-2.ius.centos7   ius                 62 k
 php56u-mysqlnd          x86_64 5.6.30-2.ius.centos7   ius                307 k
 php56u-opcache          x86_64 5.6.30-2.ius.centos7   ius                143 k
 php56u-pdo              x86_64 5.6.30-2.ius.centos7   ius                147 k
 php56u-pear             noarch 1:1.10.3-1.ius.centos7 ius                350 k
 php56u-pecl-memcached   x86_64 2.2.0-6.ius.centos7    ius                 91 k
 php56u-xml              x86_64 5.6.30-2.ius.centos7   ius                259 k
 php56u-xmlrpc           x86_64 5.6.30-2.ius.centos7   ius                 85 k
Installing for dependencies:
 httpd                   x86_64 2.4.6-45.el7.centos.4  centosmirror.netcup.net_c
entos_7_updates_x86_64_
                                                                          2.7 M
 httpd-tools             x86_64 2.4.6-45.el7.centos.4  centosmirror.netcup.net_c
entos_7_updates_x86_64_
                                                                           84 k
 libmcrypt               x86_64 2.5.8-13.el7           epel                99 k
 libmemcached            x86_64 1.0.16-5.el7           centosmirror.netcup.net_c
entos_7_os_x86_64_
                                                                          237 k
 libvpx                  x86_64 1.3.0-5.el7_0          centosmirror.netcup.net_c
entos_7_os_x86_64_
                                                                          498 k
 php56u-cli              x86_64 5.6.30-2.ius.centos7   ius                4.0 M
 php56u-common           x86_64 5.6.30-2.ius.centos7   ius                1.2 M
 php56u-pecl-igbinary    x86_64 2.0.1-1.ius.centos7    ius                 49 k
 php56u-pecl-jsonc       x86_64 1.3.10-2.ius.centos7   ius                 54 k
 php56u-pecl-jsonc-devel x86_64 1.3.10-2.ius.centos7   ius                 31 k
 php56u-process          x86_64 5.6.30-2.ius.centos7   ius                 84 k
 t1lib                   x86_64 5.1.2-14.el7           centosmirror.netcup.net_c
entos_7_os_x86_64_
                                                                          166 k

Transaction Summary
================================================================================
Install  13 Packages (+12 Dependent packages)

Total download size: 16 M
Installed size: 64 M
Is this ok [y/d/N]: y
Downloading packages:
(1/25): httpd-tools-2.4.6-45.el7.centos.4.x86_64.rpm       |  84 kB   00:00
(2/25): libmemcached-1.0.16-5.el7.x86_64.rpm               | 237 kB   00:00
(3/25): libvpx-1.3.0-5.el7_0.x86_64.rpm                    | 498 kB   00:00
(4/25): httpd-2.4.6-45.el7.centos.4.x86_64.rpm             | 2.7 MB   00:00
(5/25): libmcrypt-2.5.8-13.el7.x86_64.rpm                  |  99 kB   00:00
warning: /var/cache/yum/x86_64/7/ius/packages/php56u-cli-5.6.30-2.ius.centos7.x8
6_64.rpm: Header V4 DSA/SHA1 Signature, key ID 9cd4953f: NOKEY
Public key for php56u-cli-5.6.30-2.ius.centos7.x86_64.rpm is not installed
(6/25): php56u-cli-5.6.30-2.ius.centos7.x86_64.rpm         | 4.0 MB   00:00
(7/25): php56u-5.6.30-2.ius.centos7.x86_64.rpm             | 2.6 MB   00:00
(8/25): php56u-gd-5.6.30-2.ius.centos7.x86_64.rpm          | 196 kB   00:00
(9/25): php56u-mcrypt-5.6.30-2.ius.centos7.x86_64.rpm      |  62 kB   00:00
(10/25): php56u-devel-5.6.30-2.ius.centos7.x86_64.rpm      | 1.0 MB   00:00
(11/25): php56u-mysqlnd-5.6.30-2.ius.centos7.x86_64.rpm    | 307 kB   00:00
(12/25): php56u-pdo-5.6.30-2.ius.centos7.x86_64.rpm        | 147 kB   00:00
(13/25): php56u-mbstring-5.6.30-2.ius.centos7.x86_64.rpm   | 577 kB   00:00
(14/25): php56u-common-5.6.30-2.ius.centos7.x86_64.rpm     | 1.2 MB   00:00
(15/25): php56u-pear-1.10.3-1.ius.centos7.noarch.rpm       | 350 kB   00:00
(16/25): php56u-pecl-igbinary-2.0.1-1.ius.centos7.x86_64.r |  49 kB   00:00
(17/25): php56u-pecl-jsonc-devel-1.3.10-2.ius.centos7.x86_ |  31 kB   00:00
(18/25): php56u-process-5.6.30-2.ius.centos7.x86_64.rpm    |  84 kB   00:00
(19/25): php56u-opcache-5.6.30-2.ius.centos7.x86_64.rpm    | 143 kB   00:00
(20/25): php56u-pecl-jsonc-1.3.10-2.ius.centos7.x86_64.rpm |  54 kB   00:00
(21/25): php56u-xml-5.6.30-2.ius.centos7.x86_64.rpm        | 259 kB   00:00
(22/25): php56u-pecl-memcached-2.2.0-6.ius.centos7.x86_64. |  91 kB   00:00
(23/25): t1lib-5.1.2-14.el7.x86_64.rpm                     | 166 kB   00:00
(24/25): php56u-xmlrpc-5.6.30-2.ius.centos7.x86_64.rpm     |  85 kB   00:00
(25/25): php56u-fpm-5.6.30-2.ius.centos7.x86_64.rpm        | 1.4 MB   00:02
--------------------------------------------------------------------------------
Total                                              6.7 MB/s |  16 MB  00:02
Retrieving key from file:///etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY
Importing GPG key 0x9CD4953F:
 Userid     : "IUS Community Project <coredev@iuscommunity.org>"
 Fingerprint: 8b84 6e3a b3fe 6462 74e8 670f da22 1cdf 9cd4 953f
 Package    : ius-release-1.0-15.ius.centos7.noarch (installed)
 From       : /etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : php56u-process-5.6.30-2.ius.centos7.x86_64                  1/25
  Installing : php56u-xml-5.6.30-2.ius.centos7.x86_64                      2/25
  Installing : php56u-cli-5.6.30-2.ius.centos7.x86_64                      3/25
  Installing : php56u-common-5.6.30-2.ius.centos7.x86_64                   4/25
warning: /etc/php.ini created as /etc/php.ini.rpmnew
  Installing : 1:php56u-pear-1.10.3-1.ius.centos7.noarch                   5/25
  Installing : php56u-pecl-jsonc-1.3.10-2.ius.centos7.x86_64               6/25
PHP Warning:  popen() has been disabled for security reasons in /usr/share/pear/
OS/Guess.php on line 241
PHP Warning:  fgets() expects parameter 1 to be resource, null given in /usr/sha
re/pear/OS/Guess.php on line 242
PHP Warning:  pclose() expects parameter 1 to be resource, null given in /usr/sh
are/pear/OS/Guess.php on line 251
  Installing : php56u-pecl-jsonc-devel-1.3.10-2.ius.centos7.x86_64         7/25
  Installing : php56u-devel-5.6.30-2.ius.centos7.x86_64                    8/25
  Installing : php56u-pecl-igbinary-2.0.1-1.ius.centos7.x86_64             9/25
PHP Warning:  popen() has been disabled for security reasons in /usr/share/pear/
OS/Guess.php on line 241
PHP Warning:  fgets() expects parameter 1 to be resource, null given in /usr/sha
re/pear/OS/Guess.php on line 242
PHP Warning:  pclose() expects parameter 1 to be resource, null given in /usr/sh
are/pear/OS/Guess.php on line 251
  Installing : php56u-pdo-5.6.30-2.ius.centos7.x86_64                     10/25
  Installing : libvpx-1.3.0-5.el7_0.x86_64                                11/25
  Installing : t1lib-5.1.2-14.el7.x86_64                                  12/25
  Installing : libmcrypt-2.5.8-13.el7.x86_64                              13/25
  Installing : libmemcached-1.0.16-5.el7.x86_64                           14/25
  Installing : httpd-tools-2.4.6-45.el7.centos.4.x86_64                   15/25
  Installing : httpd-2.4.6-45.el7.centos.4.x86_64                         16/25
  Installing : php56u-5.6.30-2.ius.centos7.x86_64                         17/25
  Installing : php56u-pecl-memcached-2.2.0-6.ius.centos7.x86_64           18/25
PHP Warning:  popen() has been disabled for security reasons in /usr/share/pear/
OS/Guess.php on line 241
PHP Warning:  fgets() expects parameter 1 to be resource, null given in /usr/sha
re/pear/OS/Guess.php on line 242
PHP Warning:  pclose() expects parameter 1 to be resource, null given in /usr/sh
are/pear/OS/Guess.php on line 251
  Installing : php56u-mcrypt-5.6.30-2.ius.centos7.x86_64                  19/25
  Installing : php56u-gd-5.6.30-2.ius.centos7.x86_64                      20/25
  Installing : php56u-mysqlnd-5.6.30-2.ius.centos7.x86_64                 21/25
  Installing : php56u-opcache-5.6.30-2.ius.centos7.x86_64                 22/25
  Installing : php56u-fpm-5.6.30-2.ius.centos7.x86_64                     23/25
warning: /etc/php-fpm.conf created as /etc/php-fpm.conf.rpmnew
  Installing : php56u-mbstring-5.6.30-2.ius.centos7.x86_64                24/25
  Installing : php56u-xmlrpc-5.6.30-2.ius.centos7.x86_64                  25/25
  Verifying  : php56u-devel-5.6.30-2.ius.centos7.x86_64                    1/25
  Verifying  : php56u-cli-5.6.30-2.ius.centos7.x86_64                      2/25
  Verifying  : php56u-opcache-5.6.30-2.ius.centos7.x86_64                  3/25
  Verifying  : php56u-pecl-igbinary-2.0.1-1.ius.centos7.x86_64             4/25
  Verifying  : httpd-tools-2.4.6-45.el7.centos.4.x86_64                    5/25
  Verifying  : php56u-fpm-5.6.30-2.ius.centos7.x86_64                      6/25
  Verifying  : libmemcached-1.0.16-5.el7.x86_64                            7/25
  Verifying  : libmcrypt-2.5.8-13.el7.x86_64                               8/25
  Verifying  : php56u-common-5.6.30-2.ius.centos7.x86_64                   9/25
  Verifying  : php56u-process-5.6.30-2.ius.centos7.x86_64                 10/25
  Verifying  : php56u-xmlrpc-5.6.30-2.ius.centos7.x86_64                  11/25
  Verifying  : php56u-5.6.30-2.ius.centos7.x86_64                         12/25
  Verifying  : t1lib-5.1.2-14.el7.x86_64                                  13/25
  Verifying  : php56u-pecl-jsonc-1.3.10-2.ius.centos7.x86_64              14/25
  Verifying  : php56u-pecl-jsonc-devel-1.3.10-2.ius.centos7.x86_64        15/25
  Verifying  : php56u-mcrypt-5.6.30-2.ius.centos7.x86_64                  16/25
  Verifying  : php56u-mysqlnd-5.6.30-2.ius.centos7.x86_64                 17/25
  Verifying  : httpd-2.4.6-45.el7.centos.4.x86_64                         18/25
  Verifying  : php56u-mbstring-5.6.30-2.ius.centos7.x86_64                19/25
  Verifying  : php56u-pecl-memcached-2.2.0-6.ius.centos7.x86_64           20/25
  Verifying  : php56u-pdo-5.6.30-2.ius.centos7.x86_64                     21/25
  Verifying  : php56u-xml-5.6.30-2.ius.centos7.x86_64                     22/25
  Verifying  : php56u-gd-5.6.30-2.ius.centos7.x86_64                      23/25
  Verifying  : 1:php56u-pear-1.10.3-1.ius.centos7.noarch                  24/25
  Verifying  : libvpx-1.3.0-5.el7_0.x86_64                                25/25

Installed:
  php56u.x86_64 0:5.6.30-2.ius.centos7
  php56u-devel.x86_64 0:5.6.30-2.ius.centos7
  php56u-fpm.x86_64 0:5.6.30-2.ius.centos7
  php56u-gd.x86_64 0:5.6.30-2.ius.centos7
  php56u-mbstring.x86_64 0:5.6.30-2.ius.centos7
  php56u-mcrypt.x86_64 0:5.6.30-2.ius.centos7
  php56u-mysqlnd.x86_64 0:5.6.30-2.ius.centos7
  php56u-opcache.x86_64 0:5.6.30-2.ius.centos7
  php56u-pdo.x86_64 0:5.6.30-2.ius.centos7
  php56u-pear.noarch 1:1.10.3-1.ius.centos7
  php56u-pecl-memcached.x86_64 0:2.2.0-6.ius.centos7
  php56u-xml.x86_64 0:5.6.30-2.ius.centos7
  php56u-xmlrpc.x86_64 0:5.6.30-2.ius.centos7

Dependency Installed:
  httpd.x86_64 0:2.4.6-45.el7.centos.4
  httpd-tools.x86_64 0:2.4.6-45.el7.centos.4
  libmcrypt.x86_64 0:2.5.8-13.el7
  libmemcached.x86_64 0:1.0.16-5.el7
  libvpx.x86_64 0:1.3.0-5.el7_0
  php56u-cli.x86_64 0:5.6.30-2.ius.centos7
  php56u-common.x86_64 0:5.6.30-2.ius.centos7
  php56u-pecl-igbinary.x86_64 0:2.0.1-1.ius.centos7
  php56u-pecl-jsonc.x86_64 0:1.3.10-2.ius.centos7
  php56u-pecl-jsonc-devel.x86_64 0:1.3.10-2.ius.centos7
  php56u-process.x86_64 0:5.6.30-2.ius.centos7
  t1lib.x86_64 0:5.1.2-14.el7

Complete!

Step 7:

yum install postfix cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 cyrus-imapd postfix cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 cyrus-imapd openssl openssl-devel

Result:

[root@tutorialspots ~]# yum install postfix cyrus-sasl cyrus-sasl-plain cyr
us-sasl-md5 cyrus-imapd postfix cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 cyrus
-imapd openssl openssl-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: ftp.plusline.de
 * epel: epel.vpsnet.lt
 * extras: mirror.de.leaseweb.net
 * ius: mirrors.ircam.fr
 * remi-safe: mirror.23media.de
 * updates: mirror.tobias-wollmann.com
11873 packages excluded due to repository priority protections
Package cyrus-sasl-2.1.26-20.el7_2.x86_64 already installed and latest version
Package cyrus-sasl-2.1.26-20.el7_2.x86_64 already installed and latest version
Package 1:openssl-1.0.1e-60.el7_3.1.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.1e-60.el7_3.1.x86_64 already installed and latest ve
rsion
Resolving Dependencies
--> Running transaction check
---> Package cyrus-imapd.x86_64 0:2.4.17-8.el7_1 will be installed
--> Processing Dependency: cyrus-imapd-utils = 2.4.17-8.el7_1 for package: cyrus
-imapd-2.4.17-8.el7_1.x86_64
--> Processing Dependency: libnetsnmpmibs.so.31()(64bit) for package: cyrus-imap
d-2.4.17-8.el7_1.x86_64
--> Processing Dependency: libnetsnmpagent.so.31()(64bit) for package: cyrus-ima
pd-2.4.17-8.el7_1.x86_64
--> Processing Dependency: libnetsnmp.so.31()(64bit) for package: cyrus-imapd-2.
4.17-8.el7_1.x86_64
---> Package cyrus-sasl-md5.x86_64 0:2.1.26-20.el7_2 will be installed
---> Package cyrus-sasl-plain.x86_64 0:2.1.26-20.el7_2 will be installed
---> Package postfix.x86_64 2:2.10.1-6.el7 will be installed
--> Running transaction check
---> Package cyrus-imapd-utils.x86_64 0:2.4.17-8.el7_1 will be installed
---> Package net-snmp-agent-libs.x86_64 1:5.7.2-24.el7_3.2 will be installed
---> Package net-snmp-libs.x86_64 1:5.7.2-24.el7_3.2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package
   Arch   Version             Repository                                   Size
================================================================================
Installing:
 cyrus-imapd
   x86_64 2.4.17-8.el7_1      centosmirror.netcup.net_centos_7_os_x86_64_ 3.2 M
 cyrus-sasl-md5
   x86_64 2.1.26-20.el7_2     centosmirror.netcup.net_centos_7_os_x86_64_  56 k
 cyrus-sasl-plain
   x86_64 2.1.26-20.el7_2     centosmirror.netcup.net_centos_7_os_x86_64_  38 k
 postfix
   x86_64 2:2.10.1-6.el7      centosmirror.netcup.net_centos_7_os_x86_64_ 2.4 M
Installing for dependencies:
 cyrus-imapd-utils
   x86_64 2.4.17-8.el7_1      centosmirror.netcup.net_centos_7_os_x86_64_ 246 k
 net-snmp-agent-libs
   x86_64 1:5.7.2-24.el7_3.2  centosmirror.netcup.net_centos_7_updates_x86_64_
                                                                          703 k
 net-snmp-libs
   x86_64 1:5.7.2-24.el7_3.2  centosmirror.netcup.net_centos_7_updates_x86_64_
                                                                          747 k

Transaction Summary
================================================================================
Install  4 Packages (+3 Dependent packages)

Total download size: 7.3 M
Installed size: 75 M
Is this ok [y/d/N]: y
Downloading packages:
(1/7): cyrus-imapd-utils-2.4.17-8.el7_1.x86_64.rpm         | 246 kB   00:00
(2/7): cyrus-sasl-md5-2.1.26-20.el7_2.x86_64.rpm           |  56 kB   00:00
(3/7): cyrus-sasl-plain-2.1.26-20.el7_2.x86_64.rpm         |  38 kB   00:00
(4/7): cyrus-imapd-2.4.17-8.el7_1.x86_64.rpm               | 3.2 MB   00:00
(5/7): postfix-2.10.1-6.el7.x86_64.rpm                     | 2.4 MB   00:00
(6/7): net-snmp-libs-5.7.2-24.el7_3.2.x86_64.rpm           | 747 kB   00:00
(7/7): net-snmp-agent-libs-5.7.2-24.el7_3.2.x86_64.rpm     | 703 kB   00:00
--------------------------------------------------------------------------------
Total                                               23 MB/s | 7.3 MB  00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:net-snmp-libs-5.7.2-24.el7_3.2.x86_64                      1/7
  Installing : 1:net-snmp-agent-libs-5.7.2-24.el7_3.2.x86_64                2/7
  Installing : cyrus-imapd-utils-2.4.17-8.el7_1.x86_64                      3/7
  Installing : cyrus-imapd-2.4.17-8.el7_1.x86_64                            4/7
  Installing : cyrus-sasl-plain-2.1.26-20.el7_2.x86_64                      5/7
  Installing : 2:postfix-2.10.1-6.el7.x86_64                                6/7
  Installing : cyrus-sasl-md5-2.1.26-20.el7_2.x86_64                        7/7
  Verifying  : cyrus-sasl-md5-2.1.26-20.el7_2.x86_64                        1/7
  Verifying  : cyrus-imapd-utils-2.4.17-8.el7_1.x86_64                      2/7
  Verifying  : 2:postfix-2.10.1-6.el7.x86_64                                3/7
  Verifying  : 1:net-snmp-agent-libs-5.7.2-24.el7_3.2.x86_64                4/7
  Verifying  : 1:net-snmp-libs-5.7.2-24.el7_3.2.x86_64                      5/7
  Verifying  : cyrus-imapd-2.4.17-8.el7_1.x86_64                            6/7
  Verifying  : cyrus-sasl-plain-2.1.26-20.el7_2.x86_64                      7/7

Installed:
  cyrus-imapd.x86_64 0:2.4.17-8.el7_1
  cyrus-sasl-md5.x86_64 0:2.1.26-20.el7_2
  cyrus-sasl-plain.x86_64 0:2.1.26-20.el7_2
  postfix.x86_64 2:2.10.1-6.el7

Dependency Installed:
  cyrus-imapd-utils.x86_64 0:2.4.17-8.el7_1
  net-snmp-agent-libs.x86_64 1:5.7.2-24.el7_3.2
  net-snmp-libs.x86_64 1:5.7.2-24.el7_3.2

Complete!

Step 8:

systemctl enable php-fpm

Result:

[root@tutorialspots ~]# systemctl enable php-fpm
Created symlink from /etc/systemd/system/multi-user.target.wants/php-fpm.service
 to /usr/lib/systemd/system/php-fpm.service.

Step 9:

reboot

Leave a Reply