During the update, when dealing with configuration files (e.g., php.ini or other package configs), apt prompted for a decision:
-
Install the package maintainer’s version OR
-
Keep the currently installed version
Do NOT use “package maintainer’s version”! The consequence:
-
This removes all previous SourceGuardian Loader references or customizations:
-
PHP 8.1/8.2 + Loader will suddenly became incompatible => HTTP 500 error.
-
ChatGPT/Gemini was of NO help! But maybe they know now.
The apache log webserver will just say “SourceGuardian: This script was not encoded for this version of PHP”. But that is not the case! Just deinstall the current PHP-Version … and then there will be a fallback to your last php-Version where all references to sourceguardian will work. Or add the correct path. Filecloud expects them to be here:
/usr/lib/php/8.4/sourceguardian
A lot of php-Versions are supported and already in this folder. You do not have to download them. It is not an “encoding problem” of php. It’s a reference problem (wrong path) to the loader file.