Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

PHP 8 and LS 3.22.17

  • Angela_Child
  • Angela_Child's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago #224427 by Angela_Child
PHP 8 and LS 3.22.17 was created by Angela_Child
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.22.17
Own server or LimeSurvey hosting: own
Theme:

==================
We are running LS 3.22.17 and are unable to upgrade to LS 5. Is 3.22.17 compatible with PHP 8? Our current version of PHP is 7.4.

Thank you for any info. I saw another thread that said LS 5 and up was compatible w/ PHP 8, but not version 3.x.
 

Please Log in to join the conversation.

More
2 years 1 month ago #224467 by jelo
Replied by jelo on topic PHP 8 and LS 3.22.17
I recommend to stay on PHP 7.X with LS3. LS3 will run with PHP 8.0.X, but issues may occur and there is no testing of LS3 under PHP 8. You won't find an official recommendation to run LS 3 under PHP 8. Reported bugs may be fixed if reported, but investing that time in LS5 seems to be a better investment.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: Angela_Child

Please Log in to join the conversation.

  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
2 years 1 month ago #224468 by c_schmitz
Replied by c_schmitz on topic PHP 8 and LS 3.22.17
You can install LS3 on PHP8 but it is officially not supported.
LS5 supports currrently 8.0, but not 8.1, yet.

Best regards

Carsten Schmitz
LimeSurvey project leader
The following user(s) said Thank You: Angela_Child

Please Log in to join the conversation.

More
1 year 5 months ago #233026 by gwdgls
Replied by gwdgls on topic PHP 8 and LS 3.22.17
Hi, as PHP 7.4 is reaching its end of life November, 28th, I would like to ask whether the LTS 3.x will or does already officially support PHP 8.

In the release notes I find this:

> Changes from 3.26.3 (build 210511) to 3.26.4 (build 210517) May 17, 2021
[...]
> -Fixed issue #17236: PHP 8 not supported (Carsten Schmitz)

Does this mean that from 3.26.4 up, PHP 8 is supported?

Please Log in to join the conversation.

More
1 year 4 months ago #233806 by gwdgls
Replied by gwdgls on topic PHP 8 and LS 3.22.17
Looking closer into the topic, as the date for end of support for 7.x approaches, I find that unfortunately there is no reliable info at bugs.limesurvey.org/view.php?id=17236 ; the relevant links mentioned there do not work, and so we cannot be sure whether this has been resolved, and PHP 8 can now be used with the LTS or not.

Can anybody update us on this topic?

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 4 months ago #233809 by holch
Replied by holch on topic PHP 8 and LS 3.22.17
I would rather make a comment in the bug reports than here. The developers don't follow the forum very closely and people here in the forum are mainly users helping users. So I think chances are higher that you get feedback in the bug tracker.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

More
1 year 4 months ago #233810 by gwdgls
Replied by gwdgls on topic PHP 8 and LS 3.22.17
Thanks and yes, that was my first idea - but the bug is locked and cannot be commented any more unfortunately.

The best idea might be to file a new bug, should I do that?

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 4 months ago #233812 by holch
Replied by holch on topic PHP 8 and LS 3.22.17
Oh, ok. Seems like I can add notes still, but yes, the bug report is marked as closed.

Now, seeing that this all is about LS 4.x (which then turned LS 5.x) and reading through the notes, I get the impression that there were/are no plans on making LS 3.x compatible with PHP 8, as the fix provided was only for LS 4.

So my guess is, that support for LS 3.x will run out soon.

Not sure what the best way is to ask this question. Are you a paying customer (e.g. ComfortUpdate)? Then you might be able to open a suppor ticket directly with the Limesurvey GmbH. However, the support might just be for anything related to the paid service and they still might not answer your inquiry.

Not sure if opening a bug ticket referring to LS 3 will give you an answer, but it might be worth a try.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

More
1 year 4 months ago - 1 year 4 months ago #233814 by gwdgls
Replied by gwdgls on topic PHP 8 and LS 3.22.17
Thanks a lot! I just filed  bug #18484 .
Last edit: 1 year 4 months ago by gwdgls. Reason: link to the bug instead of the entire URL

Please Log in to join the conversation.

More
1 year 4 months ago #233829 by jelo
Replied by jelo on topic PHP 8 and LS 3.22.17

So my guess is, that support for LS 3.x will run out soon.
 
There are many offers to prolong the usage of PHP 7.4.
LS3 seems to have too many old dependencies.
I think LS3 will be supported in 2023, but only PHP 7.4.
For the SaaS business they can use PHP 7.4. for the next years.
To invest a lot of developer time into making LS3 running under PHP 8.1.seems to be wasted time.
But that is my guess,

PHP 8 reaches EOL at 26th Nov 2023.
And to support PHP 8.1. there is still a lot of work for LS5.
 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: holch

Please Log in to join the conversation.

More
1 year 4 months ago #233850 by jelo
Replied by jelo on topic PHP 8 and LS 3.22.17
Got feedback from the LimeSurvey CTO.

The stance is that PHP8 is already supported for LS3, general LTS support will be continuing until mid 2023

Good news.
PHP 8.0 should be save for LS3 and LTS is extended for another six months.

 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

More
1 year 4 months ago #233904 by gwdgls
Replied by gwdgls on topic PHP 8 and LS 3.22.17
Hi and thanks for checking! This is very good news!

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose