PHP Updates for DigiPi

36 views
Skip to first unread message

Samuel Hartley

unread,
Oct 24, 2026, 1:08:33 AMOct 24
to DigiPi
Craig:  I run my DigiPi only on my internal LAN (nothing exposed to the outside) but, would feel better updating PHP.  Any issues with just doing a PHP update to the OS?
ie: sudo apt update && sudo apt install --only-upgrade php*
Looks like the latest image of DigiPi has PHP 8.4.21.  PHP 8.4.27 has the fixes for CVE-2026-109618 and CVE-2026-109619

73
Sam
KD2TVB

Craig

unread,
Oct 24, 2026, 1:57:08 AMOct 24
to Samuel Hartley, DigiPi
Yah, go for it - and report back :)

I have a few fixes queued up for the next point release, I'll include
PHP.   DigiPi should not be on zero-trust network, obviously,
no https, no authentication, etc.  I'll look into that as well at
some point.

cool,
-craig
KM6LYW
--
You received this message because you are subscribed to the Google Groups "DigiPi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digipi+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/digipi/4f513eb6-7a8e-4680-8aab-b368b1781d65n%40googlegroups.com.

Samuel Hartley

unread,
Oct 24, 2026, 10:09:25 AMOct 24
to DigiPi
Craig:
Update looks to have had no impact so far.  Have not tested every option/feature in DigiPi but, the php-centric stuff like the web interface looks to be functioning just fine with the update.  When I attempted the update (after a "sudo remount") I realized that only certain PHP modules are installed.  Therefore, the blanket "--only-upgrade php" switch would not work.  I had to specify which PHP modules to target:

sudo apt install --only-upgrade \
  php8.4-cgi \
  php8.4-cli \
  php8.4-common \
  php8.4-opcache \
  php8.4-readline

End result:


pi@digipi:~ $ php -v
dpkg -l 'php8.4-*' | grep '^ii'

PHP 8.4.27 (cli) (built: Oct 22 2026 14:25:52) (NTS)
Copyright (c) The PHP Group
Built by Debian
Zend Engine v4.4.27, Copyright (c) Zend Technologies
    with Zend OPcache v8.4.27, Copyright (c), by Zend Technologies
ii  php8.4-cgi       8.4.27-1~deb13u1+rpi1 armhf        server-side, HTML-embedded scripting language (CGI binary)
ii  php8.4-cli       8.4.27-1~deb13u1+rpi1 armhf        command-line interpreter for the PHP scripting language
ii  php8.4-common    8.4.27-1~deb13u1+rpi1 armhf        documentation, examples and common module for PHP
ii  php8.4-opcache   8.4.27-1~deb13u1+rpi1 armhf        Zend OpCache module for PHP
ii  php8.4-readline  8.4.27-1~deb13u1+rpi1 armhf        readline module for PHP


pi@digipi:~ $ apt-cache policy php php8.4-cli php8.4-common

php:
  Installed: (none)
  Candidate: 2:8.4+96
  Version table:
     2:8.4+96 500
        500 http://raspbian.raspberrypi.com/raspbian trixie/main armhf Packages
php8.4-cli:
  Installed: 8.4.27-1~deb13u1+rpi1
  Candidate: 8.4.27-1~deb13u1+rpi1
  Version table:
 *** 8.4.27-1~deb13u1+rpi1 500
        500 http://raspbian.raspberrypi.com/raspbian trixie/main armhf Packages
        100 /var/lib/dpkg/status
php8.4-common:
  Installed: 8.4.27-1~deb13u1+rpi1
  Candidate: 8.4.27-1~deb13u1+rpi1
  Version table:
 *** 8.4.27-1~deb13u1+rpi1 500
        500 http://raspbian.raspberrypi.com/raspbian trixie/main armhf Packages
        100 /var/lib/dpkg/status
pi@digipi:~ $ 

And yes, anyone running DigiPi should not have it exposed to the WAN!....unless you are very adept at locking it down or use a home VPN if you need remote access to it when away from home.

73
Sam
KD2TVB
Reply all
Reply to author
Forward
0 new messages