[ focal ] [ focal-updates ] Show
Package: php7.4-fpm (7.4.3-4ubuntu2.13) [universe]server-side, HTML-embedded scripting language (FPM-CGI binary)Other Packages Related to php7.4-fpm
Download php7.4-fpmDownload for all available architectures
Upgrade/Installation guide for PHP 7.4 on Ubuntu and DebianPHP 7.4 was released today just in time for the thanks giving! I have written posts about upgrading PHP to 7.3 last year, and for other versions in the previous years. It's time to upgrade to PHP 7.4! SPOOKY WARNINGPHP 7.4 deprecates a bunch of features that your existing applications might be using. Although unlikely, there is a non-zero chance of the upgrade breaking your existing sites. Please make sure to make a proper backup of your server before you proceed. 1. Add ondrej/php PPAThanks to Ondrej, we have the PHP 7.4 builds ready at his PPA. These packages are not official builds from Ubuntu, but they are used by practically every modern Ubuntu stack, and I can't recommend them highly enough. If your wallet allows it, I suggest that you pay forward for his efforts with a donation. Ubuntu
Debian
2. Get a list of current PHP packagesIf you are upgrading from a previous PHP version, we will not take a note of the current PHP packages you have in your server. This list will help us to figure out the packages we should install for PHP 7.4. Note that PHP no longer bundles some less used extensions such as
This will list all packages, filter them for those who have This list will come handy to refer after we install PHP 7.4 to install the PHP 7.4 counterparts of the packages. *Breathes heavily... PHP 7.4 core
This is to install the basic PHP 7.4 binaries. You will have the bare minimum PHP installation after this. Note that we did not install PHP 7.4 extensionsIt's now time for the extensions. If you are upgrading from
a previous installation, you can now take a look at the contents of your In Ondrej's PPA/Debian repo, PHP packages follow the To install:
Extend the list of packages above to match to the contents of your Here is my recommended list of extensions:
PHP already includes extensions such as
Web server integrationIf you are planning to use PHP in a web server, you need to integrate the web server with PHP. There are two packages that you can use: For Nginx web server, or Apache server using Nginx or Apache with |