Hello,

I installed the following packages, trying to replicate your setup, on a
fresh noble 24.04 container:

$ sudo apt install php composer php-fpm
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils jsonlint libapache2-mod-php8.3 
libapr1t64 libaprutil1-dbd-sqlite3 libaprutil1-ldap libaprutil1t64 liblua5.4-0 
libzip4t64 php-common
  php-composer-ca-bundle php-composer-class-map-generator 
php-composer-metadata-minifier php-composer-pcre php-composer-semver 
php-composer-spdx-licenses php-composer-xdebug-handler
  php-curl php-intl php-json-schema php-mbstring php-psr-container php-psr-log 
php-react-promise php-seld-signal-handler php-symfony-console 
php-symfony-deprecation-contracts
  php-symfony-filesystem php-symfony-finder php-symfony-process 
php-symfony-service-contracts php-symfony-string php-zip php8.3 php8.3-cli 
php8.3-common php8.3-curl php8.3-fpm php8.3-intl
  php8.3-mbstring php8.3-opcache php8.3-readline php8.3-zip ssl-cert unzip
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser 
fossil mercurial subversion php-pear zip
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils composer jsonlint 
libapache2-mod-php8.3 libapr1t64 libaprutil1-dbd-sqlite3 libaprutil1-ldap 
libaprutil1t64 liblua5.4-0 libzip4t64 php
  php-common php-composer-ca-bundle php-composer-class-map-generator 
php-composer-metadata-minifier php-composer-pcre php-composer-semver 
php-composer-spdx-licenses
  php-composer-xdebug-handler php-curl php-fpm php-intl php-json-schema 
php-mbstring php-psr-container php-psr-log php-react-promise 
php-seld-signal-handler php-symfony-console
  php-symfony-deprecation-contracts php-symfony-filesystem php-symfony-finder 
php-symfony-process php-symfony-service-contracts php-symfony-string php-zip 
php8.3 php8.3-cli php8.3-common
  php8.3-curl php8.3-fpm php8.3-intl php8.3-mbstring php8.3-opcache 
php8.3-readline php8.3-zip ssl-cert unzip
0 upgraded, 51 newly installed, 0 to remove and 16 not upgraded.
Need to get 10.8 MB of archives.
After this operation, 44.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

(...)

The installation finished without any error. In particular, here is
where php8.3-fpm and libapache2-mod-php8.3 are configured (where you had
an error):

(...)Setting up php8.3-fpm (8.3.6-0ubuntu0.24.04.3) ...
Package apache2 is not configured yet. Will defer actions by package php8.3-fpm.

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 
→ /usr/lib/systemd/system/php8.3-fpm.service.
Setting up apache2-bin (2.4.58-1ubuntu8.5) ...
Setting up php8.3 (8.3.6-0ubuntu0.24.04.3) ...
Setting up php-fpm (2:8.3+93ubuntu2) ...
Setting up libapache2-mod-php8.3 (8.3.6-0ubuntu0.24.04.3) ...
Package apache2 is not configured yet. Will defer actions by package 
libapache2-mod-php8.3.

Creating config file /etc/php/8.3/apache2/php.ini with new version
No module matches 
Setting up composer (2.7.1-2) ...
Setting up php (2:8.3+93ubuntu2) ...
Setting up apache2 (2.4.58-1ubuntu8.5) ...
(...)
Processing triggers for php8.3-fpm (8.3.6-0ubuntu0.24.04.3) ...
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.
Processing triggers for libapache2-mod-php8.3 (8.3.6-0ubuntu0.24.04.3) ...
$


I'll mark this bug as Incomplete again, pending a sequence of steps that will 
reproduce the problem originally reported on a clean 24.04 system.


** Changed in: php8.3 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2079886

Title:
  package php8.3-fpm 8.3.6-0ubuntu0.24.04.1 failed to install/upgrade:
  installed php8.3-fpm package post-installation script subprocess
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php8.3/+bug/2079886/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to