|
...
|
...
|
@@ -25,11 +25,25 @@ Just place the script over your current install like any upgrade. This script ca
|
|
25
|
25
|
|
|
26
|
26
|
### PHP
|
|
27
|
27
|
|
|
28
|
|
-This script is being tested for issues with future PHP 8.6.0, and anything actually unique to 8.6 was likely fixed. The other stuff would be related to older PHP 8 versions. Since some patches over time (starting in 2016) use PHP 7+ only behavior, this meant that you can no longer use eFiction with PHP 5.6 and earlier. However, since 2026/10/29, such coalescing patches were removed and PHP 5.6 could be used again. PHP should also use the UTF-8 character set to use this script. The entry in the ini file should say UTF-8 for default_charset.
|
|
|
28
|
+This script is being tested for issues with future (now released 2026/11/19) PHP 8.6.0, and anything actually unique to 8.6 was likely fixed. The other stuff would be related to older PHP 8 versions. Since some patches over time (starting in 2016) use PHP 7+ only behavior, this meant that you can no longer use eFiction with PHP 5.6 and earlier. However, since 2026/10/29, such coalescing patches were removed and PHP 5.6 could be used again. PHP should also use the UTF-8 character set to use this script. The entry in the ini file should say UTF-8 for default_charset.
|
|
29
|
29
|
|
|
30
|
30
|
default_charset = "UTF-8"
|
|
31
|
31
|
|
|
32
|
32
|
|
|
|
33
|
+Just caught on 2026/11/19: session cookie settings behavior is changed: as of CVE 2026-115560, ini session settings cannot be set with a PHP file when session.upload_progress.enabled is set to On, as that will bring up an Uncaught Error in patched versions; either disable the aforementioned setting or set session.cookie_httponly to 1 and session.cookie_samesite to Lax in php.ini. PHP 8.6.0 sets these to 1 and Lax by default.
|
|
|
34
|
+
|
|
|
35
|
+session.upload_progress.enabled = Off
|
|
|
36
|
+
|
|
|
37
|
+or
|
|
|
38
|
+
|
|
|
39
|
+session.cookie_httponly = 1
|
|
|
40
|
+session.cookie_samesite = Lax
|
|
|
41
|
+
|
|
|
42
|
+You may want this as well:
|
|
|
43
|
+
|
|
|
44
|
+session.use_strict_mode = 1
|
|
|
45
|
+
|
|
|
46
|
+
|
|
33
|
47
|
### Database
|
|
34
|
48
|
|
|
35
|
49
|
Due to the community changes to this script over the years, it now handles text and data as UTF-8 as opposed to ISO-8859-1. Further changes to this script here should fully handle multibyte characters now. Yes, eFiction can now finally use emoji! To fully take advantage of this archive's character set, the database server does need to connect and use the utf8mb4 collation. This is just a sample for my.cnf or equivalent, needed for older installs and versions. Note: character_set_system is hardcoded and cannot be user-set.
|