News:

SMF 2.1.3 has been released! Take it for a spin! Read more.

Main Menu

Light Portal

Started by Bugo, March 25, 2020, 07:36:36 AM

Previous topic - Next topic

Arantor

PHP 7.4 is no longer updated by the PHP team (even if there are security issues), and hosts are increasingly forcing the PHP 8 upgrade on people. It makes sense to prepare to stay current, not cling on to versions whose support is questionable.

@rjen

I would agree, but in the end it is up to the mod author to decide.
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

Ricsca

Quote from: Arantor on March 18, 2023, 01:05:28 PMPHP 7.4 is no longer updated by the PHP team (even if there are security issues), and hosts are increasingly forcing the PHP 8 upgrade on people. It makes sense to prepare to stay current, not cling on to versions whose support is questionable.

Of course, with almost all my sites are php 8 but I have a site with few visits on a cheap hosting that still does not allow you to switch to php 8.
Since 7.4 is still used by so many sites and that's okay, making a plugin that can't be installed on php 7.4 means you won't allow so many to use it.
wordpress for example if you have php 7.1 it shows a warning that at least you need php 7.4

Bugo

LP v2.0 supports PHP 7.4+ (and tested with 8.0/8.1), you can use it until you update PHP.
Also, vote here - https://github.com/dragomano/Light-Portal/discussions/84

Arantor

Quote from: Ricsca on March 20, 2023, 08:05:24 AM
Quote from: Arantor on March 18, 2023, 01:05:28 PMPHP 7.4 is no longer updated by the PHP team (even if there are security issues), and hosts are increasingly forcing the PHP 8 upgrade on people. It makes sense to prepare to stay current, not cling on to versions whose support is questionable.

Of course, with almost all my sites are php 8 but I have a site with few visits on a cheap hosting that still does not allow you to switch to php 8.
Since 7.4 is still used by so many sites and that's okay, making a plugin that can't be installed on php 7.4 means you won't allow so many to use it.
wordpress for example if you have php 7.1 it shows a warning that at least you need php 7.4

That's because WordPress doesn't work properly on PHP 8.1 yet, so they don't try to keep users current. It's also a completely different product with a completely different set of circumstances, so things *will* be different.

Advertisement: