[{"data":1,"prerenderedAt":206},["ShallowReactive",2],{"seo-verification":3,"blog-ondrej-php-ppa-frozen-migrate-to-packages-sury-org-ma-en":6,"promo-bar-likely":198},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"blog-ondrej-php-ppa-frozen-migrate-to-packages-sury-org-ma-en",{"id":9,"slug":10,"slugs":11,"title":15,"excerpt":16,"readTime":17,"views":18,"isPinned":19,"noindex":19,"publishedAt":20,"updatedAt":21,"category":22,"categories":28,"featuredImage":30,"bgImage":31,"posterImage":32,"relatedSolution":30,"intro":33,"keyPoints":34,"sections":35,"ctaTitle":140,"ctaBody":141,"ctaButton":142,"ctaUrl":143,"relatedPosts":144},596,"ondrej-php-ppa-frozen-migrate-to-packages-sury-org",{"fr":12,"en":10,"ar":13,"es":14},"ppa-ondrej-php-gele-migrer-depot-sury","ppa-ondrej-php-مجمد-الانتقال-إلى-packages-sury-org","ppa-ondrej-php-congelado-migrar-a-packages-sury-org","ondrej\u002Fphp PPA frozen: migrate to packages.sury.org","The ondrej\u002Fphp PPA is frozen: find the Ubuntu servers still using it, move to packages.sury.org without downgrading PHP, and understand apt's label error.",10,0,false,"2026-11-27T00:00:00+00:00","2026-11-28T02:42:21+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},8,"Security & Monitoring","securite-monitoring","bg-rose-500\u002F10 text-rose-400","security",[29],{"id":23,"name":24,"slug":25,"color":26,"icon":27},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fppa-ondrej-php-gele-migrer-depot-sury-poster.svg","The notice on the ondrej\u002Fphp PPA, quoted on 24 November 2026, is unambiguous: it is frozen and no longer receives updates, and the PHP packages for Ubuntu are now published at packages.sury.org. For a fleet of client sites the risk is not an instant outage. It is a PHP that stops moving without anyone noticing, and an `apt update` that starts failing on some servers. This guide shows how to spot the affected machines, migrate without downgrading anything, understand the label-change error before accepting it, and cover Docker images and CI as well.",[],[36,40,43,53,56,91,116,120,123,126,134,137],{"type":37,"title":38,"body":39},"h2","What the notice says: frozen, not removed","The notice on the `ppa:ondrej\u002Fphp` PPA, quoted on 24 November 2026 in a HestiaCP project issue, comes down to two sentences: \"This PPA is frozen and no longer receives updates.\" and \"The PHP packages for Ubuntu are now published at https:\u002F\u002Fpackages.sury.org\u002Fphp\u002F\". The same day, a WordOps project issue reports that `apt update` fails on this repository. Two clarifications help you avoid the wrong reaction.\n\nFirst, the announcement says nothing is removed or downgraded: the PHP packages already installed stay as they are. Your site does not go down tonight. Second, the word used is \"frozen\", not \"removed\": the PPA still exists, but it no longer receives updates. On a server that keeps this source, PHP stops moving, including for security fixes distributed this way. On a fleet of client sites that is the real danger: no alert, nothing red, just a version that ages. The notice publishes no freeze date, so do not assume one. Record the real state of each machine instead.",{"type":37,"title":41,"body":42},"Finding out whether your servers still use the PPA","Detection comes down to one command to run on each Ubuntu server: `grep -rn ondrej \u002Fetc\u002Fapt\u002Fsources.list \u002Fetc\u002Fapt\u002Fsources.list.d\u002F`. A line containing `ppa.launchpadcontent.net\u002Fondrej\u002Fphp` or `ppa:ondrej\u002Fphp` means the machine still depends on the PPA. Searching the folder recursively covers both the old `.list` files and the deb822-format `.sources` files that recent Ubuntu releases use more and more. No output does not necessarily mean nothing is there: the PPA may have been added by a tool that writes elsewhere, hence the next list.\n\nFor a fleet, run the command over SSH on every machine and keep the output in a dated file: it is your starting inventory. Also note each system's codename with `lsb_release -sc`. The published migration procedure targets Ubuntu Jammy and Noble; for any other release, assume nothing and check before acting (see the troubleshooting below).",{"type":44,"title":45,"items":46},"ul","Where the PPA hides outside \u002Fetc\u002Fapt",[47,48,49,50,51,52],"**Provisioning scripts** — an `add-apt-repository ppa:ondrej\u002Fphp` in an install script, a cloud-init user-data or a playbook adds the PPA again on every new machine.","**Ansible roles and similar recipes** — a repository module that cites `ppa:ondrej\u002Fphp` puts the PPA back on the next run, even after a manual cleanup.","**Docker images** — a `RUN` instruction that adds the PPA in a Dockerfile rebuilds the image with the frozen source, and the CI that builds that image will fail in turn.","**CI pipelines** — a PHP install step on an Ubuntu runner may add the PPA before the tests, without the application repository mentioning it anywhere else.","**Panels and admin tools** — WordOps and HestiaCP already have issues open; any tool that installs PHP on Ubuntu deserves the same check.","**Internal documentation** — the agency's \"set up a server\" procedure often copies the PPA command, and the next hire replays it as written.",{"type":37,"title":54,"body":55},"Recording the baseline before you migrate","Before any change, take a snapshot of what is installed, so you can prove afterwards that nothing moved. Run `apt-cache policy php-cli`: the output shows the installed version, the candidate version and, for each, the origin repository. On a machine that depends on the PPA you will see a `ppa.launchpadcontent.net\u002Fondrej\u002Fphp` line. Add `dpkg -l 'php*'` for the list of installed PHP packages, and `php -v` for the command-line version.\n\nIf PHP-FPM serves your sites, also record the active services with `systemctl list-units 'php*-fpm*'`. Save these three outputs in a file: after the migration the same series of commands must return the same installed versions, and only the repository origin changes. That is what turns \"I think nothing broke\" into evidence you can show a client.",{"type":57,"title":58,"headers":59,"rows":63},"comparison","Old PPA and new repository, by Ubuntu release",[60,61,62],"Comparison point","ondrej\u002Fphp PPA","packages.sury.org\u002Fphp",[64,68,72,75,79,83,87],[65,66,67],"Status","Frozen: no longer receives updates","Main PHP repository for Debian and Ubuntu",[69,70,71],"Ubuntu 22.04 (Jammy)","Migration through the `debsuryorg-repository-php` package","New installs possible; standard support until June 2027",[73,70,74],"Ubuntu 24.04 (Noble)","New installs possible; standard support until May 2029",[76,77,78],"Ubuntu 26.04 (Resolute)","Outside the published migration procedure","New installs possible; standard support until May 2031",[80,81,82],"Source file","A PPA file in `\u002Fetc\u002Fapt\u002Fsources.list.d\u002F`","`\u002Fetc\u002Fapt\u002Fsources.list.d\u002Fphp.list` (README script)",[84,85,86],"Signing keyring","PPA-specific key","`\u002Fusr\u002Fshare\u002Fkeyrings\u002Fdebsuryorg-archive-keyring.gpg`",[88,89,90],"Debian","Not affected","Already the usual source, nothing to change",{"type":92,"title":93,"steps":94},"steps","Migrating without downgrading anything (Jammy and Noble)",[95,98,101,104,107,110,113],{"title":96,"body":97},"Refresh the apt index","`sudo apt update`\nIf this command fails with a label error, read the dedicated section below first: it explains the message and what to do about it.",{"title":99,"body":100},"Install the migration package","`sudo apt install debsuryorg-repository-php`\nThis is the command the notice gives to prepare the move to the new repository. Reread the list of proposed packages before confirming: it must not contain any PHP removal.",{"title":102,"body":103},"Remove the frozen PPA","`sudo add-apt-repository --remove ppa:ondrej\u002Fphp`\nThe PPA source disappears from `\u002Fetc\u002Fapt\u002Fsources.list.d\u002F`. Already installed packages are not touched.",{"title":105,"body":106},"Refresh the index again","`sudo apt update`\nThe command must no longer mention `ppa.launchpadcontent.net\u002Fondrej\u002Fphp`. If it still does, another PPA source remains: rerun the detection from the earlier section.",{"title":108,"body":109},"Check where the packages come from","`apt-cache policy php-cli`\nThe installed version must be identical to the one recorded before the migration, and the origin must now be `packages.sury.org`. A newer candidate version may appear: that is the point, since the new repository keeps moving.",{"title":111,"body":112},"Check that the service is running","`php -v`\n`systemctl list-units 'php*-fpm*'`\nVersions and active services must match your starting record. A PHP-FPM serving sites does not restart by itself because the source changed.",{"title":114,"body":115},"Log the machine as migrated","Write down the date, the Ubuntu codename and the `apt-cache policy` output in your inventory. On a fleet, that trace is what tells you which machines remain to be handled.",{"type":117,"title":118,"body":119},"tip","The install script checks no fingerprint","For a new installation, the README script installs `lsb-release`, `ca-certificates` and `curl`, downloads `https:\u002F\u002Fpackages.sury.org\u002Fdebsuryorg-archive-keyring.deb`, installs it with `dpkg -i`, then writes `\u002Fetc\u002Fapt\u002Fsources.list.d\u002Fphp.list` with the line `deb [signed-by=\u002Fusr\u002Fshare\u002Fkeyrings\u002Fdebsuryorg-archive-keyring.gpg] https:\u002F\u002Fpackages.sury.org\u002Fphp\u002F $(lsb_release -sc) main`. The transport is HTTPS, but the script verifies no key fingerprint. On a sensitive server, download the file, inspect it with `gpg --show-keys \u002Fusr\u002Fshare\u002Fkeyrings\u002Fdebsuryorg-archive-keyring.gpg`, and compare the fingerprint with one from a machine you already migrated. Do not paste a script you have not read into a production terminal.",{"type":37,"title":121,"body":122},"The apt label-change error","On machines that have not migrated yet, `apt update` may stop with a message along these lines: the repository `ppa.launchpadcontent.net\u002Fondrej\u002Fphp` changed its \"Label\" value from \"PPA for PHP\" to \"PPA for PHP (deprecated)\". Apt refuses to continue until you accept this change, which is its normal behaviour: a modified label can signal a repository taken over by someone else.\n\nHere the change is announced by the PPA notice. Note the difference in vocabulary: apt's message says \"deprecated\", the notice says \"frozen\". Either way, the source is no longer fed. The emergency exit exists: rerunning the update with the `--allow-releaseinfo-change-label` option gets past the step. Treat it as a plaster, not the solution: it unblocks `apt update` without changing the fact that the PPA is frozen. The right answer is the four-command migration above, after which the message goes away on its own.",{"type":37,"title":124,"body":125},"Docker images, CI and provisioning tools","A server migrated by hand becomes a frozen server again as soon as a script rebuilds it with the old instruction. Search for the PPA in all your code and infrastructure repositories with `grep -rIn ondrej .`, run at the root of each project: Dockerfile, CI workflows, shell scripts, Ansible roles, cloud-init files. For each hit, replace the PPA addition with installing the migration package or with the README procedure, depending on whether the image starts from an already migrated base or from a fresh install.\n\nIn a Dockerfile, the image's APT step is the place to fix first: an image built yesterday with the PPA keeps running, but the next rebuild will fail or ship a frozen source. Rebuild the base images, then the application images, and check `apt-cache policy php-cli` inside the container. For a tool such as WordOps or HestiaCP, follow the vendor's issues and reread the apt sources after each update of the tool, because it may rewrite its own repositories.",{"type":44,"title":127,"items":128},"Troubleshooting: five cases met in practice",[129,130,131,132,133],"**apt update stops on the \"Label\"** — the message mentions \"PPA for PHP (deprecated)\". Migrate with the four commands of the procedure; the `--allow-releaseinfo-change-label` option only serves to unblock temporarily.","**Two PHP repositories active at once** — `apt-cache policy php-cli` shows the PPA and `packages.sury.org`. Remove the PPA with `sudo add-apt-repository --remove ppa:ondrej\u002Fphp`, then `sudo apt update`.","**A codename missing from the procedure** — the notice only mentions Jammy and Noble. Read `lsb_release -sc`, then test `curl -sI https:\u002F\u002Fpackages.sury.org\u002Fphp\u002Fdists\u002F$(lsb_release -sc)\u002FRelease`: a 200 code indicates the repository publishes that codename.","**A Debian server** — it is not affected, it already uses `packages.sury.org`. Simply check with `grep -rn sury \u002Fetc\u002Fapt\u002F` that no PPA line has slipped in.","**The PPA comes back after a tool or script** — a provisioning run, an image or a panel replayed the addition. Find it with `grep -rIn ondrej .` and fix the source, not the machine.",{"type":37,"title":135,"body":136},"How long the new repository lasts","The deb.sury.org site presents `packages.sury.org\u002Fphp` as the main PHP repository for Debian and Ubuntu. For Ubuntu it covers only LTS releases, during their standard support period. According to the published table, support in the main repository ends in June 2027 for Ubuntu 22.04, in May 2029 for Ubuntu 24.04 and in May 2031 for Ubuntu 26.04. After that, packages come through PHP LTS by Freexian, a commercial service.\n\nRead these dates as a work calendar for the agency. A server on Ubuntu 22.04 has a shorter horizon than the other two: migrating to `packages.sury.org` brings you up to date today, but it does not replace upgrading the system. The guides on the end of life of a PHP version and on moving from 24.04 to 26.04 detail those projects, and the inventory of PHP versions across the fleet tells you which come first.",{"type":37,"title":138,"body":139},"The official documentation","PPA notice, quoted in the HestiaCP issue: https:\u002F\u002Fgithub.com\u002Fhestiacp\u002Fhestiacp\u002Fissues\u002F6049\n\nWordOps issue on the apt update failure: https:\u002F\u002Fgithub.com\u002FWordOps\u002FWordOps\u002Fissues\u002F801\n\nRepository install script (README): https:\u002F\u002Fpackages.sury.org\u002Fphp\u002FREADME.txt\n\nRepository overview and support calendar: https:\u002F\u002Fdeb.sury.org\u002F\n\nGuide provided, no support included: ServOrbit does not manage the servers you administer yourself.","A fleet of client servers to keep up to date","When every client site lives on a different server, a frozen repository is discovered too late. With ServOrbit.com reseller hosting, your clients' accounts sit in a single WHM, which cuts the number of machines to inventory.","See the agency offer","\u002Fsolutions\u002Fagences",[145,168,189],{"id":146,"slug":147,"slugs":148,"title":152,"excerpt":153,"readTime":154,"views":155,"isPinned":19,"noindex":19,"publishedAt":156,"updatedAt":157,"category":158,"categories":164,"featuredImage":166,"bgImage":31,"posterImage":167,"relatedSolution":30},206,"php-82-end-of-life-planning-your-migration",{"fr":149,"en":147,"ar":150,"es":151},"php-82-fin-de-vie-checklist-migration","نهاية-دعم-php-82-دليل-الترحيل","php-82-fin-de-vida-planificar-la-migracion","PHP 8.2 end of life: your migration checklist","PHP 8.2 reaches EOL on December 31, 2026. Inventory your stack, compare PHP versions, and follow a step-by-step migration checklist to PHP 8.3 or 8.4.",11,7,"2026-08-01T00:00:00+00:00","2026-11-08T01:13:15+00:00",{"id":159,"name":160,"slug":161,"color":162,"icon":163},4,"Development","developpement","bg-warning\u002F10 text-warning","dev",[165],{"id":159,"name":160,"slug":161,"color":162,"icon":163},"\u002Fblog\u002Fcovers\u002Fphp-82-fin-de-vie-checklist-migration-cover.webp","\u002Fblog\u002Fcovers\u002Fphp-82-fin-de-vie-checklist-migration-poster.svg",{"id":169,"slug":170,"slugs":171,"title":175,"excerpt":176,"readTime":154,"views":177,"isPinned":19,"noindex":19,"publishedAt":178,"updatedAt":179,"category":180,"categories":185,"featuredImage":187,"bgImage":31,"posterImage":188,"relatedSolution":30},495,"upgrade-ubuntu-24-04-to-26-04-do-release-upgrade-vps",{"fr":172,"en":170,"ar":173,"es":174},"ubuntu-24-04-vers-26-04-do-release-upgrade-vps","ترقية-أوبونتو-24-04-إلى-26-04-على-vps","actualizar-ubuntu-24-04-a-26-04-do-release-upgrade-vps","Upgrade Ubuntu 24.04 to 26.04 on a VPS, step by step","Upgrading a VPS from Ubuntu 24.04 to 26.04 LTS: a restorable backup, do-release-upgrade over SSH, the point of no return and the breaking changes to test.",1,"2026-10-22T00:00:00+00:00","2026-11-09T20:55:16+00:00",{"id":181,"name":182,"slug":183,"color":184,"icon":183},3,"Deployment","deploiement","bg-success\u002F10 text-success",[186],{"id":181,"name":182,"slug":183,"color":184,"icon":183},"\u002Fblog\u002Fcovers\u002Fubuntu-24-04-vers-26-04-do-release-upgrade-vps-cover.webp","\u002Fblog\u002Fcovers\u002Fubuntu-24-04-vers-26-04-do-release-upgrade-vps-poster.svg",{"id":190,"slug":191,"slugs":192,"title":196,"excerpt":197,"readTime":154,"views":18,"isPinned":19,"noindex":198,"publishedAt":199,"updatedAt":200,"category":201,"categories":202,"featuredImage":204,"bgImage":31,"posterImage":205,"relatedSolution":30},508,"php-version-inventory-for-client-sites-an-agency-method",{"fr":193,"en":191,"ar":194,"es":195},"inventaire-versions-php-parc-sites-clients-agence","جرد-إصدارات-php-لمواقع-العملاء-منهج-للوكالات","inventario-de-versiones-php-de-sitios-cliente-metodo-de-agencia","PHP version inventory for client sites: an agency method","Build a register of the PHP version served by every client site across several hosts: access tiers, batch scripts, priority batches, client message, dated proof.",true,"2026-10-27T00:00:00+00:00","2026-10-27T23:58:39+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},[203],{"id":23,"name":24,"slug":25,"color":26,"icon":27},"\u002Fblog\u002Fcovers\u002Finventaire-versions-php-parc-sites-clients-agence-cover.webp","\u002Fblog\u002Fcovers\u002Finventaire-versions-php-parc-sites-clients-agence-poster.svg",1795834351711]