Open dfabulich opened 9 months ago
I'll mess around with it. get_magic_quotes_gpc
function always returns false, since its associated feature was deprecated several versions back.
Here's the official migration guide: https://www.php.net/manual/en/migration80.php
One interesting change is that the mysqi error level now defaults to MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT
, which raises exceptions in the development environment when the storage database is missing.
I'll wrap that function with an off/on call, but perhaps we want to turn strict reporting off altogether. Will see if I encounter it again.
Some day, we're going to have to upgrade from Debian 11 Bullseye to Debian 12 Bookworm. That's going to be tricky, because Debian 12 comes with PHP 8, and the site doesn't work on PHP 8.
I have a branch here https://github.com/iftechfoundation/ifdb/tree/php-8 but when you try to start the site that way, the home page fails to load:
https://www.php.net/manual/en/function.get-magic-quotes-gpc.php
In my experience upgrading other sites from PHP 7 to PHP 8, this upgrade is going to be a doozy.