View this package for all Ubuntu releases →

How to install dh-php in Ubuntu 24.04 (noble) (all)

debhelper add-on to handle PHP PECL extensions

Vendor: GetPageSpeed

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 dh-php

Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.

Description

dh-php provides a debhelper sequence add-on named 'php' and the dh_php command. The dh_php command adds the appropriate code to the postinst, prerm and postrm maint scripts to properly enable/disable PHP PECL extensions for all available PHP SAPIs.

Packages

Package Size Built
dh-php_5.22+zzgps3_all 15 KiB 2026-10-27

Subscribe