View this package for all Ubuntu releases →
How to install libapache2-mod-php8.0 in Ubuntu 20.04 (focal) (amd64)
server-side, HTML-embedded scripting language (Apache 2 module)
Install
curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb sudo apt-get install -y /tmp/getpagespeed-release.deb rm /tmp/getpagespeed-release.deb sudo apt-get update sudo apt-get install -y libapache2-mod-php8.0
Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.
Description
This package provides the PHP module for the Apache 2 webserver (as found in the apache2-mpm-prefork package). Please note that this package ONLY works with Apache's prefork MPM, as it is not compiled thread-safe. The following extensions are built in: Core date everpatch filter hash json libxml openssl pcre Reflection session sodium SPL standard zlib. PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.
Packages
| Package | Size | Built |
|---|---|---|
| libapache2-mod-php8.0_1:8.0.30-25+gps1+ubuntu2004+stable.4_amd64 | 1.4 MiB | 2026-11-13 |
| libapache2-mod-php8.0_1:8.0.30-25+gps1+ubuntu2004+stable.3_amd64 | 1.4 MiB | 2026-11-12 |