View this package for all Ubuntu releases →
How to install php8.4-cgi in Ubuntu 24.04 (noble)
server-side, HTML-embedded scripting language (CGI binary)
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 php8.4-cgi
Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.
Description
This package provides the /usr/lib/cgi-bin/php CGI interpreter built for use in Apache 2 with mod_actions, or any other CGI httpd that supports a similar mechanism. Note that MOST users probably want the php8.4-fpm package. The following extensions are built in: Core date filter hash json libxml openssl pcntl pcre random 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 |
|---|---|---|
| php8.4-cgi_8.4.27-gps1_amd64 | 1.7 MiB | 2026-11-03 |
| php8.4-cgi_8.4.27-gps1_arm64 | 1.6 MiB | 2026-11-03 |