How to Install and Uninstall php-fpm Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 16,2024

1. Install "php-fpm" package

This guide covers the steps necessary to install php-fpm on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php-fpm

2. Uninstall "php-fpm" package

This guide covers the steps necessary to uninstall php-fpm on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php-fpm $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-fpm package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-fpm
Source: php-defaults (94+ubuntu20.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.3+94+ubuntu20.04.1+deb.sury.org+2
Depends: php8.3-fpm
Filename: pool/main/p/php-defaults/php-fpm_8.3+94+ubuntu20.04.1+deb.sury.org+2_all.deb
Size: 7396
MD5sum: 82484a325e7cd4f973c66e01a62b5700
SHA1: b45146bcb665aba4246cb34c301238ddc9ee23b0
SHA256: 1aeb58df1d6cc7603be54555c8db19743095c9b9288b194d913f24a542e71740
Description: server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
Description-md5: be4ca5d15c537bf8aeb4901089e2a272

Package: php-fpm
Architecture: all
Version: 2:7.4+75
Priority: optional
Section: universe/php
Source: php-defaults (75)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Depends: php7.4-fpm
Filename: pool/universe/p/php-defaults/php-fpm_7.4+75_all.deb
Size: 2792
MD5sum: d8bcf70f88eee0f8cf4be78fa8e939ec
SHA1: 0e793f0ba5db53c7c7b3b23aa4a94ffa3d784b61
SHA256: b774536584b4bf61a4d05b27541b2eb1f17dc2fe1621a6f680c4f1474bb13446
Description: server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
Description-md5: 7488d27b105840fe34ff9286ba7b7b99