Question

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

  • Posted August 5, 2014

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 ?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.