View Issue Details

This bug affects 2 person(s).
 16
IDProjectCategoryView StatusLast Update
18484Feature requestsInstallationpublic2024-01-22 18:08
Reportergwdgls Assigned Toollehar  
PrioritynormalSeverityfeature 
Status acknowledgedResolutionopen 
Summary18484: Requiring PHP 8 support for LimeSurvey LTS version
Description

Looking into https://bugs.limesurvey.org/view.php?id=17236 , it remains unclear to me whether the LTS 3.x supports or will support PHP 8 after the end of Security Support for PHP 7.4 on November, 25th (see https://www.php.net/supported-versions.php).

Additional Information

In bug 17236 mentioned above, on May 10, 2021 there is a comment "Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=31742". However, the link returns an error, as a bug with the id 31742 cannot be found.

See also https://forums.limesurvey.org/forum/installation-a-update-issues/126589-php-8-and-ls-3-22-17

TagsNo tags attached.
Bug heat16
Story point estimate
Users affected %

Relationships

related to 18454 closedDenisChenu Bug reports PHP deprecated notice on lot of page for PHP 8.1 

Users monitoring this issue

rnck

Activities

ollehar

ollehar

2022-11-14 15:50

administrator   ~72726

LS3 works fine on PHP 8.0, no?

gwdgls

gwdgls

2022-11-15 11:00

reporter   ~72738

Seems: According to https://forums.limesurvey.org/forum/installation-a-update-issues/126589-php-8-and-ls-3-22-17#233850 :

"PHP 8.0 should be save [sic] for LS3 and LTS is extended for another six months."

After this information, we just installed PHP 8 on our stage system, so as yet not much experience. But the info is perhaps sufficient for this bug to be closed - what do you think?

Mazi

Mazi

2024-01-22 11:37

updater   ~79262

Since PHP 8.0 is no longer receiving any support (see https://www.php.net/supported-versions.php) my question is whether LS 3.x can be run with PHP 8.1?

Are there any serious issues to be expected? Any special feature to check at a test system first?

@tibor.pacalat: The download page lists certain PHP versions the different Limesurvey releases can be run with (https://www.php.net/supported-versions.php). But at the forums we often see contradictory information like people running LS 3.x with PHP 8.2. Can you shed some light whether this is possible but not supported officially (I know about issues using debug mode)?

@ollehar, @DenisChenu, maybe you can provide some details from the developer point of view whether it would be possible to run Limesurvey 3.x with PHP 8.1 or even 8.1?

DenisChenu

DenisChenu

2024-01-22 15:14

developer   ~79269

The issue with LS3 and php8.1 and up are twig. You can not activate debug mode.

Except this : i think LS3 can support php8.2 and php8.3

DenisChenu

DenisChenu

2024-01-22 15:23

developer   ~79270

PHP8.2
Strangely : set debug=1 must not activate deprecated report
https://github.com/LimeSurvey/LimeSurvey/blob/18bac625f52375f33dff8376e4254e9dff6781bd/index.php#L163

But have bunch of deprecated part in admin part

(and a bad gateway in public : twig surely …)

OK with debug=0

Mazi

Mazi

2024-01-22 15:36

updater   ~79271

Well, as long as this work with debug=0 this is fine.

DenisChenu

DenisChenu

2024-01-22 16:32

developer   ~79275

I think we can not officially support if we don't support with debug=1.

ollehar

ollehar

2024-01-22 18:08

administrator   ~79281

Well "officially" we won't touch 3.x, the branch is gone. You'd have to use a fork if you want to apply changes.

Issue History

Date Modified Username Field Change
2022-11-10 14:59 gwdgls New Issue
2022-11-14 15:50 ollehar Note Added: 72726
2022-11-14 15:50 ollehar Bug heat 0 => 2
2022-11-14 15:52 ollehar Assigned To => ollehar
2022-11-14 15:52 ollehar Status new => acknowledged
2022-11-14 15:52 ollehar Priority none => normal
2022-11-14 15:52 ollehar Additional Information Updated
2022-11-15 11:00 gwdgls Note Added: 72738
2022-11-15 11:00 gwdgls Bug heat 2 => 4
2022-11-19 19:00 DenisChenu Relationship added related to 18454
2022-11-23 14:22 rnck Issue Monitored: rnck
2022-11-23 14:22 rnck Bug heat 4 => 6
2023-02-15 21:37 Mazi Bug heat 6 => 12
2024-01-22 11:37 Mazi Note Added: 79262
2024-01-22 11:37 Mazi Bug heat 12 => 14
2024-01-22 15:14 DenisChenu Note Added: 79269
2024-01-22 15:14 DenisChenu Bug heat 14 => 16
2024-01-22 15:23 DenisChenu Note Added: 79270
2024-01-22 15:23 DenisChenu File Added: Capture d’écran du 2024-01-22 15-20-18.png
2024-01-22 15:36 Mazi Note Added: 79271
2024-01-22 16:32 DenisChenu Note Added: 79275
2024-01-22 18:08 ollehar Note Added: 79281