You have installed trixie. Almost every package in the system will be a newer version than in previous releases. Some of them may even be different packages, for instance pipewire instead of pulseaudio.To recap: My PHP code runs as expected on PHP 7 but not every feature will run under PHP 8.
You have created a thread claiming that PHP8 is the (deliberate!) cause of all the differences. Even when you are calling out from PHP to other programs, somehow it is PHP's fault if the external program is not doing what it used to do.
Traditionally, only the superuser (root) can shutdown or reboot. Other users would have to explicitly escalate privilege first, say by using sudo.The other major issue with PHP 8 running what worked on PHP 7.* was it would not allow me the shutdown or reboot the system. Having this under PHP 7 was and is very useful for remote access.
In modern desktops, the user who is logged in on console may be permitted to reboot, and they may even be able to do so implicitly (without using sudo or pkexec). I would not expect that to be extended to the web server, perhaps not even if the same user were logged in on the desktop.
I wonder if your old code would really work in a fresh install of an older release. Have you forgotten about significant security relaxations that you made at some point?
Statistics: Posted by jojopi — Thu Dec 04, 2025 11:36 am