Welcome and thank you for the response! Sorry, was not really sure which one was the relevant package. "php-fpm" or "php8.4-fpm" seems to use a different "php.ini" than PHP ran from the CLI. When PHP installed, there are two "php.ini" created (it gets confusing):

cd /etc/php/

find -name "php.ini"

./8.4/cli/php.ini
./8.4/fpm/php.ini

and from what I remember they apply separately depending on whether PHP is ran from the command line vs. if PHP is ran as a CGI server for a webserver.

Admittedly, both CLI and FPM pull "php-common" so adding the dependency to "php-common" should work.

As a case example, this is very easily discovered if you play around with Docker, because "cron" is one of those packages that gets pulled for right about any typical Debian install but on Docker, the "debian" and "debian-slim" images obviously do not install "cron" in order to keep the size down so installing PHP within the container will immediately leads to this problem with the session files piling up.

On 11/28/2025 1:47 PM, Ondřej Surý wrote:
Control: reassign -1 php-common

Thanks, this makes sense (although for a different package).

Ondrej
--
Ondřej Surý (He/Him)
[email protected]


Reply via email to