Will I still need to install PHP-FPM for CentOS 7 + Ngnix ? In PHP 5.5.x

August 5, 2014 10.6k views

http://php-fpm.org/ Say that

" It's official. PHP-FPM is no longer marked as "experimental" as of PHP 5.4.0RC2.

What does it mean?

And as we know , CentOS 7 iptables replaced with firewalld *. with *systemctl

How to install Ngnix + PHP 5.5.x On the New CentOS 7 ?

1 Answer

To install PHP-FPM on CentOS 7, simply run:

sudo yum install php php-fpm

Though CentOS 7 ships with php 5.4.x To install php 5.5.x, you will need to add external repositories. Run:

rpm -Uvh http://mirror.metrocast.net/fedora/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
yum install --enablerepo=remi-php55 php php-fpm

Check out this article for all the details on getting a LEMP stack setup on CentOS 7.

by Mitchell Anicas
In this guide, we'll get a LEMP stack installed on an CentOS 7 VPS. A LEMP software stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the **L**inux operating system, with the **E**Nginx web server (which replaces the Apache component of a LAMP stack). The site data is stored in a **M**ySQL database (using MariaDB), and dynamic content is processed by **P**HP.
Have another answer? Share your knowledge.