RSS
News
PHP 8.6.0 Released!

This release was also a security release... that changed session behavior regarding session.upload_progress.enabled. This also applies to 8.5.13, 8.4.28, 8.3.37, and 8.2.36 - patched 8.1 and earlier had session.upload_progress.enabled blunted to 'Off' without actually doing so within php.ini (this was from PHP2Shell), so those versions' php.ini should have them set to 'Off' anyway.

This actually broke this install and others on this server that used this setting. After upgrading this install to the PHP 8.6.0 release after all these alphas, betas, and RCs, a nice white screen displayed on my browser with the following:

PHP Fatal error:  Uncaught Error: Session ini settings cannot be changed at runtime when session.upload_progress.enabled is On

eFiction 3 Mod Version 0.9.4 fixes this by using a php.ini check. (Which, ironically, had to be proper fixed two days after this news entry. So... 2026/11/21.) Before you upgrade, temporarily disable the setting of session.upload_progress.enabled. If you really need this setting enabled — which is very unlikely, the two settings need to be set in php.ini (and nowhere else, as the CVE-2026-115560 security updates now prevent this):

session.cookie_httponly = 1
session.cookie_samesite = "Lax"

This is not needed for PHP 8.6.0, as they are the default settings now. Here is another setting that is default for PHP 8.6.0 that you may want to use on earlier supported PHP versions:

session.use_strict_mode = 1



Ami Sapphire on 2026/11/19 • 19:00
[ 0 Comments ]