please tell us which PHP versions are supported #1169

Closed
opened 2026-10-05 00:34:12 +02:00 by adam · 7 comments
Owner

I've been reading the release notes, searched the gh issues, but this info cannot be found anywhere.

Please, tell us which PHP versions are supported by Piwigo.

There are a bunch of issues that state some error when using PHP X. But these issues are always dragged along and there's never a proper resolution that says: PHP X will be supported in release x.y.z of piwigo.

The info in the readme: PHP 5.3 or greater (7+ recommended) is kind of useless, since there are issues open for 7.4 and 8.
PHP 5 is EOL, so are 7.0, 7.1, an d 7.2.

Can you please list the proper PHP versions that are supported by each version of Piwigo?

Also, it's strange that Piwigo rather supports PHP versions that are EOL and most of the time has issues with the ones that are actually used by people and providers (hosters).

I've been reading the release notes, searched the gh issues, but this info cannot be found anywhere. Please, tell us which PHP versions are supported by Piwigo. There are a bunch of issues that state some error when using PHP X. But these issues are always dragged along and there's never a proper resolution that says: PHP X will be supported in release x.y.z of piwigo. The info in the readme: `PHP 5.3 or greater (7+ recommended)` is kind of useless, since there are issues open for 7.4 and 8. PHP 5 is EOL, so are 7.0, 7.1, an d 7.2. Can you please list the proper PHP versions that are supported by each version of Piwigo? Also, it's strange that Piwigo rather supports PHP versions that are EOL and most of the time has issues with the ones that are actually used by people and providers (hosters). <!-- github-sync-id:814089368 -->
adam closed this issue 2026-10-05 00:34:12 +02:00
Author
Owner

Also, it's strange that Piwigo rather supports PHP versions that are EOL
and most of the time has issues with the ones that are actually used by
people and providers (hosters).

not strange at all. Shared web hosting company runs php from 5.6 to 7.3
and sometimes 7.4 .
PHP versions are constantly updated, but introduces incompatibility.
The Piwigo team is extremely small compared to the size of the code.
Piwigo has to run a very wide range of php versions.
Everything combined makes that situation.

Piwigo 11 has been designed to check php versions before upgrading so you
know what it means. We will drop some php compatibility in the future to
focus on latest php versions

Le mar. 23 févr. 2021 à 05:26, Helmut K. C. Tessarek <
notifications@github.com> a écrit :

I've been reading the release notes, searched the gh issues, but this info
cannot be found anywhere.

Please, tell us which PHP versions are supported by Piwigo.

There are a bunch of issues that state some error when using PHP X. But
these issues are always dragged along and there's never a proper resolution
that says: PHP X will be supported in release x.y.z of piwigo.

The info in the readme: PHP 5.3 or greater (7+ recommended) is kind of
useless, since there are issues open for 7.4 and 8.
PHP 5 is EOL, so are 7.0, 7.1, an d 7.2.

Can you please list the proper PHP versions that are supported by each
version of Piwigo?

Also, it's strange that Piwigo rather supports PHP versions that are EOL
and most of the time has issues with the ones that are actually used by
people and providers (hosters).

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Piwigo/Piwigo/issues/1346, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFT5DP3JBPUSLFU7XKJMWLTAMVA5ANCNFSM4YBYEMDA
.

Also, it's strange that Piwigo rather supports PHP versions that are EOL and most of the time has issues with the ones that are actually used by people and providers (hosters). > not strange at all. Shared web hosting company runs php from 5.6 to 7.3 and sometimes 7.4 . PHP versions are constantly updated, but introduces incompatibility. The Piwigo team is extremely small compared to the size of the code. Piwigo has to run a very wide range of php versions. Everything combined makes that situation. Piwigo 11 has been designed to check php versions before upgrading so you know what it means. We will drop some php compatibility in the future to focus on latest php versions Le mar. 23 févr. 2021 à 05:26, Helmut K. C. Tessarek < notifications@github.com> a écrit : > I've been reading the release notes, searched the gh issues, but this info > cannot be found anywhere. > > Please, tell us which PHP versions are supported by Piwigo. > > There are a bunch of issues that state some error when using PHP X. But > these issues are always dragged along and there's never a proper resolution > that says: PHP X will be supported in release x.y.z of piwigo. > > The info in the readme: PHP 5.3 or greater (7+ recommended) is kind of > useless, since there are issues open for 7.4 and 8. > PHP 5 is EOL, so are 7.0, 7.1, an d 7.2. > > Can you please list the proper PHP versions that are supported by each > version of Piwigo? > > Also, it's strange that Piwigo rather supports PHP versions that are EOL > and most of the time has issues with the ones that are actually used by > people and providers (hosters). > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/Piwigo/Piwigo/issues/1346>, or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAFT5DP3JBPUSLFU7XKJMWLTAMVA5ANCNFSM4YBYEMDA> > . > <!-- github-comment-id:783944815 -->
Author
Owner

Shared web hosting company runs php from 5.6 to 7.3

Those are bad companies then. I'm not sure, but do you know what EOL means? This means that these versions do not even receive security patches anymore. Running any of those versions is irresponsible and negligent (on the part of the hosting companies).
And frankly, you waste a lot of time supporting ancient, insecure, unsafe PHP versions. But that's your problem.

Many PHP projects dropped PHP5 support years ago. Just this week I got a notification that another project just dropped everything below 7.2.

Either way, I'm not here to discuss this. But please note that you sometimes have to force people to upgrade. If you support PHP5 forever, some people will use it forever.

Piwigo 11 has been designed to check php versions before upgrading

Thanks, this is good to know, but should be mentioned in the release notes.
Furthermore, is it a > X check or a > X and < Y check?
Also, it certainly wouldn't hurt to mention these versions in the release notes, especially since you already have the check in the code.

> Shared web hosting company runs php from 5.6 to 7.3 Those are bad companies then. I'm not sure, but do you know what EOL means? This means that these versions do not even receive security patches anymore. Running any of those versions is irresponsible and negligent (on the part of the hosting companies). And frankly, you waste a lot of time supporting ancient, insecure, unsafe PHP versions. But that's your problem. Many PHP projects dropped PHP5 support years ago. Just this week I got a notification that another project just dropped everything below 7.2. Either way, I'm not here to discuss this. But please note that you sometimes have to force people to upgrade. If you support PHP5 forever, some people will use it forever. > Piwigo 11 has been designed to check php versions before upgrading Thanks, this is good to know, but should be mentioned in the release notes. Furthermore, is it a `> X` check or a `> X and < Y` check? Also, it certainly wouldn't hurt to mention these versions in the release notes, especially since you already have the check in the code. <!-- github-comment-id:783955050 -->
Author
Owner

As a side note. There's been a PR open for 1.5 years that fixes a corruption when using PHP 7.3. #1103
Given that PHP 7.3 is the oldest supported PHP version, it's rather brutal that Piwigo apparently corrupts js output when running this version. So either you have already fixed these issues and left the PR open or using Piwigo with 7.3 is also not safe.

As a side note. There's been a PR open for 1.5 years that fixes a corruption when using PHP 7.3. #1103 Given that PHP 7.3 is the oldest supported PHP version, it's rather brutal that Piwigo apparently corrupts js output when running this version. So either you have already fixed these issues and left the PR open or using Piwigo with 7.3 is also not safe. <!-- github-comment-id:783959884 -->
Author
Owner

The reason Webhosting companies still support PHP 5.4 to 8 (mine does) is obvious. Money. They have mitigations in place to cover for the most common security issues related to deprecated php execution. I still have sites that are written in code that requires PHP 5.6 to work (NOT Piwigo) and upgrade is slow because one may have to find a new platform entirely for the content.
I moved to Piwigo when Menalto Gallery ceased its development. I looked for weeks before finding anything similar with a GPL approach, and found Piwigo.

We see support questions in the Piwigo forums where gallery admins run on PHP 5.6. There are two options here, either Piwigo ups its standards to not support pre PHP 7.2 / 7.3 or the WebHost companies does. If we want Piwigo to take that step we should all prep for a horde of unhappy "5.6"'ers wanting help with upgrades... at least I believe that is a fair risk the forums will be exposed to that.

Ultimately Piwigo probably wants exposure, many sites running Piwigo. That is how resources for additional development are created.

The reason Webhosting companies still support PHP 5.4 to 8 (mine does) is obvious. Money. They have mitigations in place to cover for the most common security issues related to deprecated php execution. I still have sites that are written in code that requires PHP 5.6 to work (NOT Piwigo) and upgrade is slow because one may have to find a new platform entirely for the content. I moved to Piwigo when Menalto Gallery ceased its development. I looked for weeks before finding anything similar with a GPL approach, and found Piwigo. We see support questions in the Piwigo forums where gallery admins run on PHP 5.6. There are two options here, either Piwigo ups its standards to not support pre PHP 7.2 / 7.3 or the WebHost companies does. If we want Piwigo to take that step we should all prep for a horde of unhappy "5.6"'ers wanting help with upgrades... at least I believe that is a fair risk the forums will be exposed to that. Ultimately Piwigo probably wants exposure, many sites running Piwigo. That is how resources for additional development are created. <!-- github-comment-id:783974448 -->
Author
Owner

@Ainz I also moved to Piwigo from Menalto. I'm very happy with Piwigo.

But I'm using PHP 7.3, since it is the last supported PHP version. I care about my security and I compile all Internet facing binaries myself. As I mentioned in my previous comment, it looks like that Piwigo has issues with PHP 7.3. Maybe the PR was just left open.

All I'm saying is that development should go towards the current PHP versions and the unsupported ones should be best effort. Currently it seems it's the other way around, which is IMO the wrong approach, because it's one of the reasons why people don't upgrade their PHP.

Btw, many hosters allow multiple php versions. Unless they use PHP as a module, in which case they should probably stop hosting altogether. (H2 requires Apache event MPM. Apache event MPM requires php-fpm.)

@Ainz I also moved to Piwigo from Menalto. I'm very happy with Piwigo. But I'm using PHP 7.3, since it is the last supported PHP version. I care about my security and I compile all Internet facing binaries myself. As I mentioned in my previous comment, it _looks like_ that Piwigo has issues with PHP 7.3. Maybe the PR was just left open. All I'm saying is that development should go towards the **current** PHP versions and the unsupported ones should be best effort. Currently it seems it's the other way around, which is IMO the wrong approach, because it's one of the reasons why people don't upgrade their PHP. Btw, many hosters allow multiple php versions. Unless they use PHP as a module, in which case they should probably stop hosting altogether. (H2 requires Apache event MPM. Apache event MPM requires php-fpm.) <!-- github-comment-id:784340100 -->
Author
Owner

I disagree: the current effort is to move forward to the newer version of
PHP. What happens is Piwigo has his legacy "burden", a small team and other
issues to tackle (such as keeping the current user base). So the problem is
way more complex than your description.
Finally we all agree, we need to go forward on newer php and as said and
stated in the features of Piwigo 11 (check them again), Piwigo is now ready
to start that turn

Le mar. 23 févr. 2021 à 17:45, Helmut K. C. Tessarek <
notifications@github.com> a écrit :

@Ainz https://github.com/Ainz I also moved to Piwigo from Menalto. I'm
very happy with Piwigo.

But I'm using PHP 7.3, since it is the last supported PHP version. I care
about my security and I compile all Internet facing binaries myself. As I
mentioned in my previous comment, it looks like that PHP 7.3 has issues.
Maybe the PR was just left open.

All I'm saying is that development should go towards the current PHP
versions and the unsupported ones should be best effort. Currently it's the
other way around, which is IMO the wrong approach, because it's one of the
reasons why people don't upgrade their PHP.

Btw, many hosters allow multiple php versions. Unless they use PHP as a
module, in which case they should probably stop hosting altogether. (H2
requires Apache event MPM. Apache event MPM requires php-fpm.)

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Piwigo/Piwigo/issues/1346#issuecomment-784340100, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFT5DPOQOVL2IA7JFZIRPLTAPLRFANCNFSM4YBYEMDA
.

I disagree: the current effort is to move forward to the newer version of PHP. What happens is Piwigo has his legacy "burden", a small team and other issues to tackle (such as keeping the current user base). So the problem is way more complex than your description. Finally we all agree, we need to go forward on newer php and as said and stated in the features of Piwigo 11 (check them again), Piwigo is now ready to start that turn Le mar. 23 févr. 2021 à 17:45, Helmut K. C. Tessarek < notifications@github.com> a écrit : > @Ainz <https://github.com/Ainz> I also moved to Piwigo from Menalto. I'm > very happy with Piwigo. > > But I'm using PHP 7.3, since it is the last supported PHP version. I care > about my security and I compile all Internet facing binaries myself. As I > mentioned in my previous comment, it looks like that PHP 7.3 has issues. > Maybe the PR was just left open. > > All I'm saying is that development should go towards the *current* PHP > versions and the unsupported ones should be best effort. Currently it's the > other way around, which is IMO the wrong approach, because it's one of the > reasons why people don't upgrade their PHP. > > Btw, many hosters allow multiple php versions. Unless they use PHP as a > module, in which case they should probably stop hosting altogether. (H2 > requires Apache event MPM. Apache event MPM requires php-fpm.) > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <https://github.com/Piwigo/Piwigo/issues/1346#issuecomment-784340100>, or > unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAFT5DPOQOVL2IA7JFZIRPLTAPLRFANCNFSM4YBYEMDA> > . > <!-- github-comment-id:784359579 -->
Author
Owner

Ok, thanks.

Ok, thanks. <!-- github-comment-id:784385130 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1169