php-defaults 108~exp1
Package Information
| Description | server-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). |
|---|---|
| Maintainer | Debian PHP Maintainers <team+pkg-php@tracker.debian.org> |
| Changed By | Ondřej Surý <ondrej@debian.org> |
| Sponsor | ondrej@debian.org |
| Distribution | experimental |
| Architecture | all |
| VCS | git: https://salsa.debian.org/php-team/php-defaults.git (browse) |
| Popcon Installs | 50402 |
| Binary NEW | Yes (new binary packages of a source already in sid) |
| Tracker | https://tracker.debian.org/pkg/php-defaults |
| Uploaded | 2 hours ago |
New Package Report
.changes
| Date | Tue, 24 Nov 2026 17:20:53 +0100 |
|---|---|
| Source | php-defaults |
| Version | 108~exp1 |
| Changed-By | Ondřej Surý <ondrej@debian.org> |
| Architecture | source all |
| Distribution | experimental |
Changelog
php-defaults (108~exp1) experimental; urgency=medium . * Bump the default and supported version to PHP 8.6
.dsc
| Section | php |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | libapache2-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/copyrightis 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 --removetakes 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.infiles 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.defaultentry is therefore never dropped: after removing the package thephpdbglink group keeps a stale, highest-priority alternative whose target the package has taken away, so/usr/bin/phpdbgis left a dangling symlink andupdate-alternatives --config phpdbgreports a broken alternative. u-a also exits non-zero for a path it does not know, which with this script'sset -erisks 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, onremove/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
policytool on the reviewing system gives 4.7.4.1), so the package has not been checked against the current requirements. Keepcontrol.inand the generatedcontrolin sync when bumping. - Fix: Raise Standards-Version to 4.7.4 (or whatever the current Policy version is) in
debian/control.in, regeneratedebian/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 ofdebian/; nodebian/patches, nodebian/tests, no binaries, no vendored third-party code, no.gitignored files. - Licensing:
php-helper,phpenmod,phpquery,sessioncleancarryCopyright 2013-2015 Ondřej Surýand the full Expat permission text;php-maintscript-helpercarries2012 Arno Tölland2013 Ondřej Surýwith the same text.debian/copyrightnames both holders in the right stanzas (year drift only), has the exact copyright-format 1.0Format:line, and includes the Expat text, so no licence text is missing from /usr/share/common-licenses. php-common.mkis a single comment line andphp-fpm-socket-helperhas no notice of its own; both are the Debian maintainer's own files and are covered byFiles: *(Expat, 2015 Ondřej Surý) — the prescan'sdfsg-author-checklikewise found no unnamed holder, and I found none.debian/controlis consistent with regeneration fromdebian/control.in+debian/modulelist: 34 binary packages, all@PHP_VERSION@occurrences resolved to 8.6,@PHP_DEV_PACKAGES@and the Breaks list (throughphp8.5-common) asdebian/ruleswould produce, packages sorted by wrap-and-sort.- Every
php8.6-*dependency indebian/controlexists in experimental per apt-cache:php8.6-cli,-dev,-xml,-mbstring,-fpm,-litespeed,-phpdbg,-sybase,-interbase,libphp8.6-embed;php8.6-jsonis a virtual package name, asphp8.4-jsonis provided byphp8.4-cli/php8.4-fpm/etc. - compat 10 with debhelper 14.5 works: the
debhelpertool confirmsdh_systemd_enable/dh_systemd_startstill apply below compat 11 and both binaries are shipped, sooverride_dh_systemd_enable/startand--with systemdbuild; thedebian/source/lintian-overridesentry formissing-build-dependency-for-dh_-command dh_systemd_startis therefore a false-positive override, not a fault. dh_fixperms -i -pphp-common …followed bydh_fixperms -i --remaining-packagesis correct: Dh_Getopt.pm implements--remaining-packagesvia the per-tool log, so php-common is skipped and thechmod 01733 /var/lib/php/sessionssurvives.- Maintainer scripts are idempotent with
set -eand#DEBHELPER#; php-cgi, php-cli and php-dev install and remove the same alternative paths (php-cli's repeatedpharin its prerm loop is a harmless no-op); the systemd timer is enabled and the service not enabled, anddh_installcron -pphp-common --name=phpinstallsphp-common.php.cron.das/etc/cron.d/php. - The
@PHP_VERSION@in line 1 ofdebian/php-common.php.cron.dis inside a comment (the installed file name is fixed) and is not a fault. debian/source/formatis3.0 (native)with a hyphen-free version, appropriate for a Debian-only source; the changelog'sexperimentaldistribution matchesdebian/gbp.conf'sdebian-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 --removewith an unregistered path exits non-zero (which would abortphp-phpdbg.prermunderset -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-jsonis not a real binary package name in the archive lists or madison; I assumephp8.6-common/the SAPIs provide it as a virtual package (asphp8.4-jsonis provided byphp8.4-cliand friends), but this could not be checked for 8.6 — if nothing provided it,php-all-devandphp-jsonwould 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
| Version | Hash | Allocated | Completed | Reviewer | Status | Details |
|---|---|---|---|---|---|---|
| 102~ | 5b475af4… | 2026-07-06 17:26 | 2026-07-06 17:29 | mechtilde | accepted | VIEW |