ElkArte Community

Project Support => Support => Topic started by: radu81 on March 15, 2023, 03:42:29 am

Title: Which PHP version to use with Elkarte 1.1.9?
Post by: radu81 on March 15, 2023, 03:42:29 am
I finally got some time to update my forum to Elkarte 1.1.9 and PHP 8.1 and everything seems to work fine for now. The elkarte error log is empty and that's somehow strange :cheesy: 
I am wondering, which is the recommended PHP version to use with Elkarte 1.1.9? 8.1 or 8.2?
Title: Re: Which PHP version to use with Elkarte 1.1.9?
Post by: ahrasis on March 15, 2023, 10:16:12 am
I think it still is php 7+, so 7.4 is my preferred php for 1.1.9. Of course with all the patches, 8.1 or 8.2 could work fine too but I always thought php 8+ is mainly aimed for EA 2.0 and above.
Title: Re: Which PHP version to use with Elkarte 1.1.9?
Post by: badmonkey on March 15, 2023, 11:45:45 am
Some add ons don't play well with versions 8.x. 
Title: Re: Which PHP version to use with Elkarte 1.1.9?
Post by: radu81 on March 15, 2023, 12:43:52 pm
Thanks for your answers.
Since yesterday I am running PHP 8.1 on my both forums, and for now no errors in elk log and also not a single report from my members. I think I will keep this "experimental" setup and report future or possible bugs.
With PHP 8.2 I noticed some errors from ReCaptcha add-on.
Title: Re: Which PHP version to use with Elkarte 1.1.9?
Post by: radu81 on March 15, 2023, 05:23:33 pm
Quote from: radu81 – I think I will keep this "experimental" setup and report future or possible bugs.
:rolleyes:  I'm afraid I've talked too early and...
Quote from: badmonkey – Some add ons don't play well with versions 8.x.
you are right, for now I've found something with Elkarte Prefix add-on which I'll report on the dedicated topic
Title: Re: Which PHP version to use with Elkarte 1.1.9?
Post by: Spuds on March 17, 2023, 10:13:38 am
ElkArte core should be fine with 8.1 or 8.2, that is what I did all my update work on.  I do not know of any incompatibilities knock on :wood:

I updated all my addons (at least I hope) to support 8.1 etc. BUT as noted by @badmonkey there are addons that have not kept up with PHP changes.  Best to report those as getting things updated for 8.x is important as 7.4 got its last set of patches in Dec/2022 and is now at support EOL.