Sulat.com / Writing on AISunday, November 22, 2026
Developer Tools/22 November 2026

Ondřej Surý’s PHP packages for Ubuntu have moved from Launchpad to packages.sury.org

Surý's ppa:ondrej/php on Launchpad is frozen and gets no more updates. Ubuntu 22.04 and 24.04 users switch with a package he's published; 26.04 installs come from packages.sury.org.

3D PHP logo between a server rack frozen in ice on the left and a warm-lit rack on the right, with a crate crossing a bridge of light

At a glance

  • Ondřej Surý's Launchpad page for ppa:ondrej/php is now titled "PPA for PHP (deprecated)" and says the PPA is frozen, no longer receives updates, and that Ubuntu's PHP packages are published at packages.sury.org/php.
  • For Ubuntu 22.04 and 24.04, the page gives four commands built around a new package, debsuryorg-repository-php, and says nothing is removed or downgraded during the switch.
  • Ubuntu 26.04, Resolute, appears only under new installations, which follow the README script on packages.sury.org; Surý said on 12 February that the next Ubuntu LTS wouldn't be on the PPA.
  • The package that enables the new repository is published in the PPA, not on packages.sury.org, so the install command has to run before the PPA is removed.

Ondřej Surý has frozen ppa:ondrej/php, the Launchpad repository that has carried his PHP packages for Ubuntu, and moved the packages to packages.sury.org/php. The PPA’s Launchpad page is now titled “PPA for PHP (deprecated)” and says it “no longer receives updates”.

That page gives Ubuntu 22.04 (Jammy) and 24.04 (Noble) users a four-command migration. It lists Ubuntu 26.04 (Resolute) only under new installations. Surý says the official PHP packages in Debian and Ubuntu are either his work or based on it.

Before and after: the frozen Launchpad PPA on the left, packages.sury.org/php on the right, where new builds land
The PPA has stopped; every new build lands on packages.sury.org.

How the move played out

Surý pre-announced it on 12 February in an issue on the deb.sury.org tracker. He wrote that the next Ubuntu LTS “will not be available at the Launchpad PPA, but directly at packages.sury.org”, and that “the existing Ubuntu releases will follow”.

The timetable moved up in May. Canonical said on 1 May that its web infrastructure was under a sustained, cross-border attack. On 3 May, with the PPA down, a user asked Surý to speed up the migration. He replied that he had added jammy, noble and resolute to packages.sury.org and started rebuilding the packages, engines first.

By early July the PPA’s label had changed to “Use packages.sury.org/php instead”, and users reported that apt update was complaining about it. The label now reads “PPA for PHP (deprecated)”. The PPA’s release file for Noble is dated 20 November, 17:59 UTC.

The official migration steps

For Jammy and Noble, the Launchpad page gives these four commands:

Code
sudo apt update
sudo apt install debsuryorg-repository-php
sudo add-apt-repository --remove ppa:ondrej/php
sudo apt update

The page says the debsuryorg-repository-php package enables the new repository. “Nothing is removed or downgraded,” it says; the installed PHP packages stay as they are and get their next updates from the new repository.

Four numbered apt commands: update, install debsuryorg-repository-php, remove the ondrej PPA, update again, with a one-line job each
Steps two and three do the switch; the two updates just refresh apt’s lists.

The order matters. I checked the package indexes on 22 November (NZ time): debsuryorg-repository-php is published in the PPA, version 2026.11.20 for Ubuntu 24.04, and it isn’t in the packages.sury.org index for Noble. Remove the PPA before installing it and apt can’t find it.

New installs and Ubuntu 26.04

The same page sends new installations on Jammy, Noble and Resolute to the README on packages.sury.org. The script installs a signing-key package and writes the source line for your release:

Code
sudo apt-get update
sudo apt-get -y install lsb-release ca-certificates curl
sudo curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
sudo dpkg -i /tmp/debsuryorg-archive-keyring.deb
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
sudo apt-get update

That is the README’s script with sudo written out, which the file itself adds only when you aren’t root. Resolute has no migration entry; Surý said in February that the next LTS wouldn’t be on the PPA. Adding packages.sury.org by hand with the key at packages.sury.org/php/apt.gpg is another way to get the repository, but it doesn’t touch the PPA entry.

Three cards: Ubuntu 22.04 Jammy and 24.04 Noble can migrate or install fresh; 26.04 Resolute installs fresh from sury.org
Jammy and Noble have a migration path; Resolute only has the fresh-install route.

Why staying put costs you

A frozen PPA gets no more PHP patch releases, and PHP shipped a large security release on 19 November, which I covered for Laravel apps. The PPA’s index for Noble lists 8.5.13-2 as its PHP 8.5 build. packages.sury.org lists 8.5.13-3. Both are PHP 8.5.13, but the PPA is frozen, so it won’t carry 8.5.14.

The version strings differ between the two repositories. When a user asked on the tracker in July about the mismatch, Surý answered that both builds come from the same sources and that “most likely everything will resolve in time by just updating the packages”.

Check what your server uses

To see whether a machine still pulls from the PPA, search apt’s source files for the maintainer’s name:

Code
grep -ir ondrej /etc/apt/sources.list.d/

Debian systems that use Surý’s packages already point at packages.sury.org. I only checked the PHP PPA. Its page lists a dependency, “PPA for Apache 2 (deprecated)”, and I haven’t looked at what that repository needs. I couldn’t find a statement from Surý on whether Launchpad will take the PPA’s packages down.


Discover more from Sulat AI & Tech News

Subscribe to get the latest posts sent to your email.