Hi,
Thanks for your reply. Here are the information regarding PHP elements.
Upgrading PHP…
Hit:1 Index of /debian bookworm InRelease
Hit:2 http://security.debian.org bookworm-security InRelease
Get:3 Index of /debian bookworm-updates InRelease [55.4 kB]
Hit:4 Index of /php/ bookworm InRelease
Get:6 Index of /debian bookworm-backports InRelease [59.0 kB]
Hit:5 Index of /apt/ bookworm InRelease
Get:7 Index of /debian bookworm-backports/main arm64 Packages.diff/Index [63.3 kB]
Get:8 Index of /debian bookworm-backports/main arm64 Packages T-2025-01-20-1416.52-F-2025-01-20-1416.52.pdiff [196 B]
Get:8 Index of /debian bookworm-backports/main arm64 Packages T-2025-01-20-1416.52-F-2025-01-20-1416.52.pdiff [196 B]
Fetched 178 kB in 3s (70.4 kB/s)
Reading package lists…
Clearing opcache…
This can take some time. Please don’t interrupt the process/close your browser tab.
Done.
Stopping apache and php-fpm…
Remove old PHP (8.1)…
Conf php8.1-fpm disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Reading package lists…
The following packages were automatically installed and are no longer required:
debsuryorg-archive-keyring libabsl20220623 libavif15 libgav1-1 libgd3
libxpm4 libxslt1.1 libyuv0 libzip4 php-common
Use ‘apt autoremove’ to remove them.
The following packages will be REMOVED:
php8.1* php8.1-bcmath* php8.1-bz2* php8.1-cli* php8.1-common* php8.1-curl*
php8.1-fpm* php8.1-gd* php8.1-gmp* php8.1-igbinary* php8.1-intl*
php8.1-ldap* php8.1-mbstring* php8.1-mysql* php8.1-opcache* php8.1-readline*
php8.1-redis* php8.1-sqlite3* php8.1-xml* php8.1-zip*
0 upgraded, 0 newly installed, 20 to remove and 10 not upgraded.
After this operation, 27.5 MB disk space will be freed.
(Reading database … ^M(Reading database … 5%^M(Reading database … 10%^M(Reading database … 15%^M(Reading database … 20%^M(Reading database … 25%^>
Removing php8.1 (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-bcmath (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-bz2 (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-redis (6.1.0-2+0~20241127.62+debian12~1.gbp5ec001) …
Removing php8.1-igbinary (3.2.16-3+0~20241125.52+debian12~1.gbp2adcb2) …
Removing php8.1-fpm (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
apache2_invoke php8.1-fpm prerm: No action required
Removing php8.1-cli (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-zip (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-xml (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-curl (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-gd (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-gmp (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-intl (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-ldap (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-mbstring (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-mysql (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-opcache (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-readline (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-sqlite3 (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Removing php8.1-common (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Processing triggers for man-db (2.11.2-2) …
(Reading database … ^M(Reading database … 5%^M(Reading database … 10%^M(Reading database … 15%^M(Reading database … 20%^M(Reading database … 25%^>
Purging configuration files for php8.1-bcmath (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Purging configuration files for php8.1-gmp (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Purging configuration files for php8.1-bz2 (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Purging configuration files for php8.1-mbstring (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Purging configuration files for php8.1-common (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Purging configuration files for php8.1-gd (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Purging configuration files for php8.1-curl (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Purging configuration files for php8.1-sqlite3 (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Purging configuration files for php8.1-xml (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Purging configuration files for php8.1-fpm (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
apache2_invoke postrm: Purging state for php8.1-fpm
dpkg: warning: while removing php8.1-fpm, directory ‘/etc/php/8.1/fpm/conf.d’ not empty so not removed
Purging configuration files for php8.1-mysql (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Purging configuration files for php8.1-cli (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
dpkg: warning: while removing php8.1-cli, directory ‘/etc/php/8.1/cli/conf.d’ not empty so not removed
Purging configuration files for php8.1-zip (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Purging configuration files for php8.1-redis (6.1.0-2+0~20241127.62+debian12~1.gbp5ec001) …
Purging configuration files for php8.1-igbinary (3.2.16-3+0~20241125.52+debian12~1.gbp2adcb2) …
dpkg: warning: while removing php8.1-igbinary, directory ‘/etc/php/8.1/mods-available’ not empty so not removed
Purging configuration files for php8.1-readline (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Purging configuration files for php8.1-opcache (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Purging configuration files for php8.1-intl (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Purging configuration files for php8.1-ldap (8.1.31-1+0~20241121.67+debian12~1.gbp9e3dc4) …
Install PHP 8.3…
Reading package lists…
Building dependency tree…
Reading state information…
systemd is already the newest version (252.33-1~deb12u1).
The following packages were automatically installed and are no longer required:
debsuryorg-archive-keyring libabsl20220623 libavif15 libgav1-1 libgd3
libxpm4 libxslt1.1 libyuv0 libzip4 php-common
Use ‘apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Reading package lists…
Building dependency tree…
Reading state information…
The following additional packages will be installed:
php8.3-igbinary php8.3-readline
Suggested packages:
php-pear
The following NEW packages will be installed:
php8.3 php8.3-bcmath php8.3-bz2 php8.3-cli php8.3-common php8.3-curl
php8.3-fpm php8.3-gd php8.3-gmp php8.3-igbinary php8.3-intl php8.3-ldap
php8.3-mbstring php8.3-mysql php8.3-opcache php8.3-readline php8.3-redis
php8.3-xml php8.3-zip
0 upgraded, 19 newly installed, 0 to remove and 10 not upgraded.
Need to get 0 B/5,583 kB of archives.
After this operation, 28.9 MB of additional disk space will be used.
Selecting previously unselected package php8.3-common.
Need to get 0 B/5,583 kB of archives.
After this operation, 28.9 MB of additional disk space will be used.
Selecting previously unselected package php8.3-common.
(Reading database … ^M(Reading database … 5%^M(Reading database … 10%^M(Reading database … 15%^M(Reading database … 20%^M(Reading database … 25%^>
Preparing to unpack …/00-php8.3-common_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-common (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-opcache.
Preparing to unpack …/01-php8.3-opcache_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-opcache (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-readline.
Preparing to unpack …/02-php8.3-readline_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-readline (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-cli.
Preparing to unpack …/03-php8.3-cli_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-cli (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-fpm.
Preparing to unpack …/04-php8.3-fpm_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-fpm (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-igbinary.
Preparing to unpack …/05-php8.3-igbinary_3.2.16-3+0~20241125.52+debian12~1.gbp2adcb2_arm64.deb …
Unpacking php8.3-igbinary (3.2.16-3+0~20241125.52+debian12~1.gbp2adcb2) …
Selecting previously unselected package php8.3-redis.
Preparing to unpack …/06-php8.3-redis_6.1.0-2+0~20241127.62+debian12~1.gbp5ec001_arm64.deb …
Unpacking php8.3-redis (6.1.0-2+0~20241127.62+debian12~1.gbp5ec001) …
Selecting previously unselected package php8.3.
Preparing to unpack …/07-php8.3_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_all.deb …
Unpacking php8.3 (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-bcmath.
Preparing to unpack …/08-php8.3-bcmath_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-bcmath (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-bz2.
Preparing to unpack …/09-php8.3-bz2_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-bz2 (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-curl.
Preparing to unpack …/10-php8.3-curl_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-curl (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-gd.
Preparing to unpack …/11-php8.3-gd_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-gd (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-gmp.
Preparing to unpack …/12-php8.3-gmp_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-gmp (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-intl.
Preparing to unpack …/13-php8.3-intl_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Preparing to unpack …/13-php8.3-intl_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-intl (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-ldap.
Preparing to unpack …/14-php8.3-ldap_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-ldap (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-mbstring.
Preparing to unpack …/15-php8.3-mbstring_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-mbstring (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-mysql.
Preparing to unpack …/16-php8.3-mysql_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-mysql (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-xml.
Preparing to unpack …/17-php8.3-xml_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-xml (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Selecting previously unselected package php8.3-zip.
Preparing to unpack …/18-php8.3-zip_8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2_arm64.deb …
Unpacking php8.3-zip (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Setting up php8.3-common (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Creating config file /etc/php/8.3/mods-available/calendar.ini with new version
Creating config file /etc/php/8.3/mods-available/ctype.ini with new version
Creating config file /etc/php/8.3/mods-available/exif.ini with new version
Creating config file /etc/php/8.3/mods-available/fileinfo.ini with new version
Creating config file /etc/php/8.3/mods-available/ffi.ini with new version
Creating config file /etc/php/8.3/mods-available/ftp.ini with new version
Creating config file /etc/php/8.3/mods-available/gettext.ini with new version
Creating config file /etc/php/8.3/mods-available/iconv.ini with new version
Creating config file /etc/php/8.3/mods-available/pdo.ini with new version
Creating config file /etc/php/8.3/mods-available/phar.ini with new version
Creating config file /etc/php/8.3/mods-available/posix.ini with new version
Creating config file /etc/php/8.3/mods-available/shmop.ini with new version
Creating config file /etc/php/8.3/mods-available/sockets.ini with new version
Creating config file /etc/php/8.3/mods-available/sysvmsg.ini with new version
Creating config file /etc/php/8.3/mods-available/sysvsem.ini with new version
Creating config file /etc/php/8.3/mods-available/sysvshm.ini with new version
Creating config file /etc/php/8.3/mods-available/tokenizer.ini with new version
Setting up php8.3-zip (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Creating config file /etc/php/8.3/mods-available/zip.ini with new version
Setting up php8.3-mysql (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Creating config file /etc/php/8.3/mods-available/mysqlnd.ini with new version
Creating config file /etc/php/8.3/mods-available/mysqli.ini with new version
Creating config file /etc/php/8.3/mods-available/pdo_mysql.ini with new version
Setting up php8.3-mbstring (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Creating config file /etc/php/8.3/mods-available/mbstring.ini with new version
Setting up php8.3-readline (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Creating config file /etc/php/8.3/mods-available/readline.ini with new version
Setting up php8.3-gmp (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Creating config file /etc/php/8.3/mods-available/gmp.ini with new version
Setting up php8.3-ldap (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Creating config file /etc/php/8.3/mods-available/ldap.ini with new version
Setting up php8.3-bcmath (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Creating config file /etc/php/8.3/mods-available/bcmath.ini with new version
Setting up php8.3-bz2 (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Creating config file /etc/php/8.3/mods-available/bz2.ini with new version
Setting up php8.3-xml (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Creating config file /etc/php/8.3/mods-available/dom.ini with new version
Creating config file /etc/php/8.3/mods-available/simplexml.ini with new version
Creating config file /etc/php/8.3/mods-available/xml.ini with new version
Creating config file /etc/php/8.3/mods-available/xmlreader.ini with new version
Creating config file /etc/php/8.3/mods-available/xmlwriter.ini with new version
Creating config file /etc/php/8.3/mods-available/xsl.ini with new version
Creating config file /etc/php/8.3/mods-available/xsl.ini with new version
Setting up php8.3-opcache (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Setting up php8.3-gd (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Creating config file /etc/php/8.3/mods-available/gd.ini with new version
Setting up php8.3-curl (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Creating config file /etc/php/8.3/mods-available/curl.ini with new version
Setting up php8.3-intl (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Creating config file /etc/php/8.3/mods-available/intl.ini with new version
Setting up php8.3-cli (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
update-alternatives: using /usr/bin/php8.3 to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar8.3 to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar8.3 to provide /usr/bin/phar.phar (phar.phar) in auto mode
Creating config file /etc/php/8.3/cli/php.ini with new version
Setting up php8.3-fpm (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Creating config file /etc/php/8.3/fpm/php.ini with new version
NOTICE: Not enabling PHP 8.3 FPM by default.
NOTICE: To enable PHP 8.3 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.3-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Created symlink /etc/systemd/system/multi-user.target.wants/php8.3-fpm.service → /lib/systemd/system/php8.3-fpm.service.^M
Setting up php8.3-igbinary (3.2.16-3+0~20241125.52+debian12~1.gbp2adcb2) …
Setting up php8.3 (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Setting up php8.3-redis (6.1.0-2+0~20241127.62+debian12~1.gbp5ec001) …
Processing triggers for man-db (2.11.2-2) …
Processing triggers for php8.3-cli (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
Processing triggers for php8.3-fpm (8.3.16-1+0~20250119.51+debian12~1.gbpd60bd2) …
NOTICE: Not enabling PHP 8.3 FPM by default.
NOTICE: To enable PHP 8.3 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.3-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
Installing template ‘php/opcache.ini.sh’…
Running nc-limits
Using 2981597184 for PHP max memory
Installing template ‘php/90-ncp.ini.sh’…
Using 37 PHP threads
Installing template ‘php/pool.d.www.conf.sh’…
Installing template ‘mysql/91-ncp.cnf.sh’…
Something went wrong while upgrading PHP. Rolling back to version 8.1…
Conf php8.3-fpm already disabled
So the few elements and questions :
-
is there a need to do the To activate the new configuration, after PHP 8.1 deletion (my guess is no)
-
Should I remove manually the conf.d file manually
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.3-fpm → but the script is still running, so not sure when/how to do that, or should I modify the ncp-update script (which to be honnest, I’d rather not)
-
Do I need to manually remove ‘/etc/php/8.1/cli/conf.d’ and ‘/etc/php/8.1/fpm/conf.d’ not empty so not removed before trying to run the update, could that be the issue ?