PHP error during Trixie upgrade

  • Date | 2025-10-16 15:22:22

  • Bug report | b97b9332-820b-4855-a1c3-1612d45c55a3

  • Program name | DietPi-Software

  • Command | apt-get -y --allow-change-held-packages install php8.4-fpm php8.4-apcu php8.4-curl php8.4-gd php8.4-mbstring php8.4-xml php8.4-zip

  • Exit code | 100

  • DietPi version | v9.17.2 (MichaIng/master)

  • Distro version | trixie (ID=8,RASPBIAN=1)

  • Kernel version | Linux RPi0p 6.12.47+rpt-rpi-v6 #1 Raspbian 1:6.12.47-1+rpt1~bookworm (2025-09-16) armv6l GNU/Linux

  • Architecture | armhf

  • Hardware model | RPi Zero W (armv6l) (ID=1)

  • Power supply | (EG: RAVPower 5V 1A)

  • SD card | (EG: SanDisk Ultra 16 GB)

Steps to reproduce:

  1. Ran sudo bash -c "$(curl -sSf 'https://raw.githubusercontent.com/MichaIng/DietPi/dev/.meta/dietpi-trixie-upgrade')"
Reading package lists...                                                                                                                                                            

Building dependency tree...                                                                                                                                                         

Reading state information...                                                                                                                                                        

php8.4-fpm is already the newest version (8.4.11-1).                                                                                                                                

php8.4-apcu is already the newest version (5.1.24-1).                                                                                                                               

php8.4-curl is already the newest version (8.4.11-1).                                                                                                                               

php8.4-gd is already the newest version (8.4.11-1).                                                                                                                                 

php8.4-mbstring is already the newest version (8.4.11-1).                                                                                                                           

php8.4-xml is already the newest version (8.4.11-1).                                                                                                                                

php8.4-zip is already the newest version (8.4.11-1).                                                                                                                                

The following packages were automatically installed and are no longer required:                                                                                                     

  exim4-base exim4-config exim4-daemon-light firmware-linux-free                                                                                                                    

  firmware-misc-nonfree gcc-12-base gnupg-utils gpg-wks-client gpg-wks-server                                                                                                       

  gpgv libabsl20220623 libapt-pkg6.0 libassuan0 libavif15 libcbor0.8                                                                                                                

  libcryptsetup12 libdav1d6 libfile-fcntllock-perl libfile-find-rule-perl                                                                                                           

  libgnutls-dane0t64 libicu72 libidn12 libip4tc2 libmagic-mgc libmagic1                                                                                                             

  libnsl2 libnumber-compare-perl librav1e0 libsvtav1enc1 libtext-glob-perl                                                                                                          

  libunbound8 libunistring2 libx265-199 mailcap perl-modules-5.36 usrmerge                                                                                                          

  util-linux-extra                                                                                                                                                                  

Use 'sudo apt autoremove' to remove them.                                                                                                                                           

0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.                                                                                                                      

1 not fully installed or removed.                                                                                                                                                   

After this operation, 0 B of additional disk space will be used.                                                                                                                    

Setting up php8.4-fpm (8.4.11-1) ...

Job for php8.4-fpm.service failed because a fatal signal was delivered to the control process.                                                                                      

**See "systemctl status php8.4-fpm.service" and "journalctl -xeu php8.4-fpm.service" for details.**                                                                                     

invoke-rc.d: initscript php8.4-fpm, action "start" failed.   
● php8.4-fpm.service - The PHP 8.4 FastCGI Process Manager                                                                                                                          

     Loaded: loaded (/usr/lib/systemd/system/php8.4-fpm.service; **enabled**; preset: **enabled**)                                                                                          

     Active: activating (auto-restart-queued) (Result: signal) since Thu 2025-10-16 15:21:19 CEST; 230ms ago                                                                        

        Job: 12863                                                                                                                                                                  

 Invocation: 776d1ad7442f4ec1b6ab4b2c1d9bd45b                                                                                                                                       

       Docs: man:php-fpm8.4(8)                                                                                                                                                      

    Process: 10629 ExecStart=/usr/sbin/php-fpm8.4 --nodaemonize --fpm-config /etc/php/8.4/fpm/php-fpm.conf **(code=killed, signal=ILL)**                                                

    Process: 10631 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/8.4/fpm/pool.d/www.conf 84 (code=exited, status=0/SUCCESS)                 

   Main PID: 10629 (code=killed, signal=ILL)                                                                                                                                        

        CPU: 858ms                                                                                                                                                                  

Oct 16 15:21:19 RPi0p systemd[1]: php8.4-fpm.service: Scheduled restart job, restart counter is at 1.                                                                               

Oct 16 15:21:19 RPi0p systemd[1]: Starting php8.4-fpm.service - The PHP 8.4 FastCGI Process Manager...                                                                              

dpkg: error processing package php8.4-fpm (--configure):                                                                                                                            

 installed php8.4-fpm package post-installation script subprocess returned error exit status 1                                                                                      

Errors were encountered while processing:                                                                                                                                           

 php8.4-fpm                                                                                                                                                                         

E: Sub-process /usr/bin/dpkg returned an error code (1)

Looks like PHP fpm 8.4 is not compatible with 32bit

Unfortunately your device does not support 64bit OS. Some people say you can run it with php8.2, so you would need to downgrade and test that.

I’ve informed our developer @MichaIng

32-bit is not the issue, but ARMv6. See here:

Great, in the last thread folks found a solution (altering build config) that totally makes sense. The Debian sources enforce VFPv3 floating-point instructions, which are not supported by ARMv6, but VFPv2 needs to be used. I added the info to the Raspbian bug report. I really hope Raspbian maintainers find some time to implement it quickly.

1 Like

Should we block the update on armv6?

I was thinking this would be solved soon after RPi OS Trixie release, but people seem to be not aware (anymore) that 32-bit RPi OS is still Raspbian, i.e. where such issue needs to be reported, or where existing issues need to be pushed to get more traction.

Hence yeah makes sense. I just added the warning for PHP on ARMv6. Good that we still link the dev version of the script everywhere.

Issue solved, new ARMv6 compatible packages have been merged to Raspbian.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.