Add remi repository for PHP
Remi Dependency on CentOS 6 and Red Hat (RHEL) 6
# sudo rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
CentOS 6 and Red Hat (RHEL) 6
# sudo rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
Install php-fpm and dependencies
sudo yum install php-fpm
Server should respond with
====================================================================================
Package Arch Version Repository Size
====================================================================================
Installing:
php-fpm x86_64 5.6.0-1.el6.remi.2 remi-php56 1.3 M
Installing for dependencies:
php-cli x86_64 5.6.0-1.el6.remi.2 remi-php56 3.7 M
php-common x86_64 5.6.0-1.el6.remi.2 remi-php56 1.0 M
php-pear noarch 1:1.9.5-3.el6.remi remi 375 k
php-pecl-jsonc x86_64 1.3.6-1.el6.remi.5.6.1 remi-php56 47 k
php-pecl-zip x86_64 1.12.4-2.el6.remi.5.6 remi-php56 269 k
php-process x86_64 5.6.0-1.el6.remi.2 remi-php56 56 k
php-xml x86_64 5.6.0-1.el6.remi.2 remi-php56 208 k
====================================================================================
Install 8 Package(s)
Total download size: 7.0 M
Installed size: 26 M
Is this ok [y/N]:
Respond with y
Php-fpm will be installed.