How To Install php-fpm.x86_64 on Amazon Linux 2
In this tutorial we learn how to install php-fpm.x86_64 in Amazon Linux 2. php-fpm.x86_64 is PHP FastCGI Process Manager
Introduction
In this tutorial we learn how to install php-fpm.x86_64
on Amazon Linux 2.
What is php-fpm.x86_64
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.
We can use yum
to install php-fpm.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install php-fpm.x86_64.
Install php-fpm.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install php-fpm.x86_64
using yum
by running the following command:
sudo yum -y install php-fpm.x86_64
How To Uninstall php-fpm.x86_64 on Amazon Linux 2
To uninstall only the php-fpm.x86_64
package we can use the following command:
sudo yum remove php-fpm.x86_64
php-fpm.x86_64 Package Contents on Amazon Linux 2
/etc/logrotate.d/php-fpm
/etc/php-fpm.conf
/etc/php-fpm.d
/etc/php-fpm.d/www.conf
/etc/sysconfig/php-fpm
/run/php-fpm
/usr/lib/systemd/system/php-fpm.service
/usr/lib/tmpfiles.d/php-fpm.conf
/usr/sbin/php-fpm
/usr/share/doc/php-fpm-5.4.16
/usr/share/doc/php-fpm-5.4.16/fpm_LICENSE
/usr/share/doc/php-fpm-5.4.16/php-fpm.conf.default
/usr/share/fpm
/usr/share/fpm/status.html
/usr/share/man/man8/php-fpm.8.gz
/var/log/php-fpm
References
Summary
In this tutorial we learn how to install php-fpm.x86_64
on Amazon Linux 2 using yum.