Question

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

Posted August 5, 2014 11.4k 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 ?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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
by Erika Heidi
In this guide, we'll get a LEMP stack installed on an CentOS 7 server. 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 Linux operating system, with the ENginx web server (which replaces the Apache component of a LAMP stack). The site data is stored in a MySQL database (using MariaDB), and dynamic content is processed by PHP.
Submit an Answer