What is the point?
PHP 8.0 is recommended.
You can use 8.1 but it is not guaranteed to work without errors.
null
to string functions (a sensible change overall). We've been a bit reticent to recommend PHP 8.1 officially, but I think we'll aim to do so in XF 2.2.14 and beyond.You reach a point though that you have to say finis. Those that are using hosting that haven't at least upgraded their infrastructure to support at least 7.4 (better yet 8.0) simply need to look elsewhere for a more current hosting provider or simply decide to stay on an old version of XF that will no longer receive support.We still have to support PHP 7.2 in XF 2.3 because so many customers are running ancient PHP versions.
A lot changed in PHP 8.0. It's much stricter than PHP 7.x, and that trend continued with both 8.1 and 8.2. This is great for both security and ease of development, but it's liable to error out when it encounters code that didn't follow best practices--code that might have just silently misbehaved or even exhibited no obvious problems at all in prior versions. That'll result in a 500 error. Your PHP or web server error logs should be able to give you more details.I've yet to get 8.x working on my server.
Really? They offer 8.2.8?Latest version here.
My host always has it at the latest version
It doesn't even support 8.1 "officially" right now.. and you expect it to support 8.3 in a few months?Is XF 2.2.X or 2.3 going to support PHP8.3 ? (assuming we will see these after November 2023)
Yes: there's a constant stream of security vulnerabilities being found in PHP. These days, most are relatively minor or don't impact XenForo, but eventually we'll see another big CVE that affects old PHP versions.Now say I was to stick with Xenforo 2.2 for the next 4+ years. (Worst case scenario). Any long term concerns down the road of not updating php for a smaller niche board like mine?
As far as I can tell, there aren't any new breaking changes that are likely to affect XF. That being said, 8.2 brought quite a few breaking changes that likely still affect XF 2.2.13.PHP8.3 alpha came out last month and will become the GA version in November.
It looks like it will break a lot of things in XF.![]()
PHP 8.3 is out, now! Here's what's new and changed.
PHP 8.3 was released on November 23, 2023, and as usual, you need to be up to date with new features and breaking changes for easier transitions.benjamincrozat.com
Is XF 2.2.X or 2.3 going to support PHP8.3 ? (assuming we will see these after November 2023)
2.2.13 brought a statement that the XenForo team is "comfortable recommending PHP 8.1": https://xenforo.com/community/posts/1636824 I don't think it's accurate to say that 8.1 isn't officially supported; it's just not the formally recommended version on the release announcement page.It doesn't even support 8.1 "officially" right now.. and you expect it to support 8.3 in a few months?
There is a difference between saying "we are comfortable recommending", and saying "we fully support".2.2.13 brought a statement that the XenForo team is "comfortable recommending PHP 8.1
We use essential cookies to make this site work, and optional cookies to enhance your experience.