Recommended PHP Versions & Potential Problems with using PHP 8.1.0
I was reading at the PHP website, where I remember that in installing UNA I had the option of using PHP 8 but chose PH 7.4 as recommended. Anyway, what I read at their site was this.
"As of PHP 8.1.0, write access to the entire $GLOBALS array is no longer supported."
I am curious to learn, whether anyone installed PHP 8.1.0 and had any problems? I did see some other things removed from PHP after version 8, besides this, and so, I am wondering if this is impacting UNA or not? Hopefully not.
-
-
·
Andrey Yasko
- ·
We have tried PHP 8.0 and 8.1. Both will work, but after we ran performance tests on one of the large UNA communities (4+ million members) with an intensive calculation (feed calculating in runtime) we found that 7.4 is a little faster than 8.0 and significantly faster than 8.1. It's not clear why, but we decided to table this investigation until 8.2 is stable and we can run tests with all of them more extensively.
-
·
Andrey Yasko
-
- · OneEagle
- ·
Hello, I am running UNA 13 with PHP 8.2 and I haven't seen any problem at all.
-
- · Dannie Jackson
- ·
Thanks, Andrey and OneEagle. If I get some time here this week, I will install a sub directory and put another UNA installation in it, to try out the PHP 8 versions.