DFSG NEW Queue

DFSG, Licensing & New Packages Team

php-defaults 108~exp1

Package Information

Descriptionserver-side, HTML-embedded scripting language (Apache 2 module) (default)

This package provides the PHP module for the Apache 2 webserver.

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.

This package is a dependency package, which depends on the default PHP version (currently 8.6).

MaintainerDebian PHP Maintainers <team+pkg-php@tracker.debian.org>
Changed ByOndřej Surý <ondrej@debian.org>
Sponsorondrej@debian.org
Distributionexperimental
Architectureall
VCSgit: https://salsa.debian.org/php-team/php-defaults.git (browse)
Popcon Installs50402
Binary NEWYes (new binary packages of a source already in sid)
Trackerhttps://tracker.debian.org/pkg/php-defaults
Uploaded2 hours ago

New Package Report

.changes◂
DateTue, 24 Nov 2026 17:20:53 +0100
Sourcephp-defaults
Version108~exp1
Changed-ByOndřej Surý <ondrej@debian.org>
Architecturesource all
Distributionexperimental
Changelog◂
php-defaults (108~exp1) experimental; urgency=medium
 .
   * Bump the default and supported version to PHP 8.6
.dsc◂
Sectionphp
Priorityoptional
Componentmain
Package-Listlibapache2-mod-php deb php optional arch=all
libphp-embed deb php optional arch=all
php deb php optional arch=all
php-all-dev deb php optional arch=all
php-bcmath deb php optional arch=all
php-bz2 deb php optional arch=all
php-cgi deb php optional arch=all
php-cli deb php optional arch=all
php-common deb php optional arch=all
php-curl deb php optional arch=all
php-dba deb php optional arch=all
php-dev deb php optional arch=all
php-enchant deb php optional arch=all
php-fpm deb php optional arch=all
php-gd deb php optional arch=all
php-gmp deb php optional arch=all
php-interbase deb php optional arch=all
php-intl deb php optional arch=all
php-json deb php optional arch=all
php-ldap deb php optional arch=all
php-litespeed deb php optional arch=all
php-mbstring deb php optional arch=all
php-mysql deb php optional arch=all
php-odbc deb php optional arch=all
php-pgsql deb php optional arch=all
php-phpdbg deb php optional arch=all
php-readline deb php optional arch=all
php-snmp deb php optional arch=all
php-soap deb php optional arch=all
php-sqlite3 deb php optional arch=all
php-sybase deb php optional arch=all
php-tidy deb php optional arch=all
php-xml deb php optional arch=all
php-zip deb php optional arch=all
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: Ondřej Surý <ondrej@debian.org>
Source: https://salsa.debian.org/php-team/php-defaults

Files: *
Copyright: 2015 Ondřej Surý
License: Expat

Files: php-maintscript-helper
Copyright: 2012 Arno Töll
	   2013-2015 Ondřej Surý
License: Expat

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of this software and associated documentation files (the
 "Software"), to deal in the Software without restriction, including
 without limitation the rights to use, copy, modify, merge, publish,
 distribute, sublicense, and/or sell copies of the Software, and to
 permit persons to whom the Software is furnished to do so, subject to
 the following conditions:
 .
 The above copyright notice and this permission notice shall be
 included in all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 2 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 1 hour ago.

Report◂

DFSG NEW review for php-defaults version 108~exp1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 2 minor
  • debian/watch: absent (native package)
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

All seven upstream files are the Debian PHP team's own shell scripts/makefile snippet, and every one that carries a notice carries the Expat (MIT) permission text; debian/copyright is DEP-5, matches them with Files: * plus a separate stanza for php-maintscript-helper (Arno Töll / Ondřej Surý), reproduces the Expat text in full, and the prescan found no holder it does not name. Nothing in the tree is vendored, binary, generated-without-source, or under non-free terms, and no patches exist. The two files without a notice of their own (php-common.mk, php-fpm-socket-helper) are the maintainer's own work and are correctly covered by Files: *.

Packaging

The packaging is sound: debian/control is correctly generated from control.in plus modulelist for PHP 8.6 (34 packages, all php8.6-* dependencies verified to exist in experimental), maintainer scripts are idempotent with #DEBHELPER#, alternatives and the systemd timer/cron job are wired up consistently, 3.0 (native) and the experimental changelog fit this Debian-only source, and gbp.conf/Vcs-* are right. Two minor faults: the php-phpdbg prerm removes an alternative path that was never registered, and Standards-Version is 4.5.0.2.

Issues

minor packaging 1. php-phpdbg.prerm unregisters the alternative at a path that was never installed, leaving /usr/bin/phpdbg dangling ◂
  • Files: debian/php-phpdbg.prerm:6, debian/php-phpdbg.postinst:6
  • Basis: checked, in the package or with a reference tool
  • Evidence: prerm: update-alternatives --remove phpdbg /usr/bin/phpdbg@PHP_VERSION@; postinst: --install /usr/bin/phpdbg phpdbg /usr/bin/phpdbg.default 100
  • Problem: update-alternatives --remove takes the path the alternative was installed with (update-alternatives(1): "path is an absolute filename to which name could be linked"). Nothing substitutes @PHP_VERSION@ in a maintainer script (only the *.links.in files are run through sed in debian/rules), so the prerm asks u-a to remove /usr/bin/phpdbg@PHP_VERSION@, which was never registered. The registered /usr/bin/phpdbg.default entry is therefore never dropped: after removing the package the phpdbg link group keeps a stale, highest-priority alternative whose target the package has taken away, so /usr/bin/phpdbg is left a dangling symlink and update-alternatives --config phpdbg reports a broken alternative. u-a also exits non-zero for a path it does not know, which with this script's set -e risks failing the prerm outright.
  • Fix: Remove the path that was installed: update-alternatives --remove phpdbg /usr/bin/phpdbg.default (and, as for php-cli/php-cgi, on remove/deconfigure).
minor packaging 2. Standards-Version 4.5.0.2 is far behind the current Policy 4.7.x ◂
  • Files: debian/control:8, debian/control.in:8
  • Basis: checked, in the package or with a reference tool
  • Evidence: Standards-Version: 4.5.0.2
  • Problem: The declared Policy version predates the current 4.7.x by two minor revisions (the policy tool on the reviewing system gives 4.7.4.1), so the package has not been checked against the current requirements. Keep control.in and the generated control in sync when bumping.
  • Fix: Raise Standards-Version to 4.7.4 (or whatever the current Policy version is) in debian/control.in, regenerate debian/control, and review the 4.5→4.7 upgrading checklist.
Verified ◂
  • Inventory: the whole tree was read — 7 upstream files (php-common.mk, php-fpm-socket-helper, php-helper, php-maintscript-helper, phpenmod, phpquery, sessionclean) and every file of debian/; no debian/patches, no debian/tests, no binaries, no vendored third-party code, no .gitignored files.
  • Licensing: php-helper, phpenmod, phpquery, sessionclean carry Copyright 2013-2015 Ondřej Surý and the full Expat permission text; php-maintscript-helper carries 2012 Arno Töll and 2013 Ondřej Surý with the same text. debian/copyright names both holders in the right stanzas (year drift only), has the exact copyright-format 1.0 Format: line, and includes the Expat text, so no licence text is missing from /usr/share/common-licenses.
  • php-common.mk is a single comment line and php-fpm-socket-helper has no notice of its own; both are the Debian maintainer's own files and are covered by Files: * (Expat, 2015 Ondřej Surý) — the prescan's dfsg-author-check likewise found no unnamed holder, and I found none.
  • debian/control is consistent with regeneration from debian/control.in + debian/modulelist: 34 binary packages, all @PHP_VERSION@ occurrences resolved to 8.6, @PHP_DEV_PACKAGES@ and the Breaks list (through php8.5-common) as debian/rules would produce, packages sorted by wrap-and-sort.
  • Every php8.6-* dependency in debian/control exists in experimental per apt-cache: php8.6-cli, -dev, -xml, -mbstring, -fpm, -litespeed, -phpdbg, -sybase, -interbase, libphp8.6-embed; php8.6-json is a virtual package name, as php8.4-json is provided by php8.4-cli/php8.4-fpm/etc.
  • compat 10 with debhelper 14.5 works: the debhelper tool confirms dh_systemd_enable/dh_systemd_start still apply below compat 11 and both binaries are shipped, so override_dh_systemd_enable/start and --with systemd build; the debian/source/lintian-overrides entry for missing-build-dependency-for-dh_-command dh_systemd_start is therefore a false-positive override, not a fault.
  • dh_fixperms -i -pphp-common … followed by dh_fixperms -i --remaining-packages is correct: Dh_Getopt.pm implements --remaining-packages via the per-tool log, so php-common is skipped and the chmod 01733 /var/lib/php/sessions survives.
  • Maintainer scripts are idempotent with set -e and #DEBHELPER#; php-cgi, php-cli and php-dev install and remove the same alternative paths (php-cli's repeated phar in its prerm loop is a harmless no-op); the systemd timer is enabled and the service not enabled, and dh_installcron -pphp-common --name=php installs php-common.php.cron.d as /etc/cron.d/php.
  • The @PHP_VERSION@ in line 1 of debian/php-common.php.cron.d is inside a comment (the installed file name is fixed) and is not a fault.
  • debian/source/format is 3.0 (native) with a hyphen-free version, appropriate for a Debian-only source; the changelog's experimental distribution matches debian/gbp.conf's debian-branch = debian/experimental, and 108~exp1 sorts above the archive's 2:107.
  • There is no debian/watch, and the package is native, so none is needed.
Not confirmed ◂
  • Whether update-alternatives --remove with an unregistered path exits non-zero (which would abort php-phpdbg.prerm under set -e); the man page documents only that 2 means a failed action, and I could not run u-a. The stale-alternative consequence holds either way.
  • php8.6-json is not a real binary package name in the archive lists or madison; I assume php8.6-common/the SAPIs provide it as a virtual package (as php8.4-json is provided by php8.4-cli and friends), but this could not be checked for 8.6 — if nothing provided it, php-all-dev and php-json would be uninstallable.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 0 hours ago.

Other Reviews of this Package

VersionHashAllocatedCompletedReviewerStatusDetails
102~ 5b475af4… 2026-07-06 17:26 2026-07-06 17:29 mechtilde accepted VIEW

Back to Dashboard | View all reviews for this package