[RFC][3.3.x] Supported PHP versions

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.2/Rhea followed by 3.3.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.1. If you need support for phpBB 3.1 please visit the 3.1.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.

Minimum PHP version for phpBB 3.3.x?

5.5.x
3
5%
5.6.x
12
20%
7.0.x
41
69%
7.1.x
3
5%
 
Total votes: 59

User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 123
Joined: Thu Sep 09, 2010 11:36 am
Location: Munich, Germany

[RFC][3.3.x] Supported PHP versions

Post by Marc » Tue Jan 10, 2017 9:10 pm

I'd like to propose moving on to PHP 7.0.0 as minimum PHP version for phpBB 3.3.x. The frameworks we're using are moving towards supporting PHP 7.0 only in the coming months as well so it make sense to adhere to this and also move on with phpBB. Support for PHP 7.0 is increasing day by day and by the time phpBB 3.3.0 is released we should have a good enough user base on PHP 7.0. Even then, phpBB 3.2 will still be supported which will cover any users that are not able to update to PHP 7.0 just yet.

I recommend using the poll to voice your opinion on this instead of posting something like +1.

User avatar
david63
Registered User
Posts: 215
Joined: Mon Feb 07, 2005 7:23 am
Location: Lancashire, UK

Re: [RFC][3.3.x] Supported PHP versions

Post by david63 » Tue Jan 10, 2017 9:28 pm

If the frameworks that phpBB needs are only going to work with PHP7+ then that is the obvious way to go. As to which version that then becomes another question.

At what point does the actual version need to be "set in stone"? I would suggest that you start with 7.0.x now and if it is viable review the situation at a later date. Assuming that 3.3 will (and this is purely my speculation) be the better part of two or more years away then the situation may have changed significantly in that time - there may be 90% of servers running PHP 7.5 and 7.0 may be all but dead (I know that is fantasy - but you get the point)
David
Remember: You only know what you know -
and you do not know what you do not know!

User avatar
3Di
Registered User
Posts: 694
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano (I) Frankfurt (D)
Contact:

Re: [RFC][3.3.x] Supported PHP versions

Post by 3Di » Tue Jan 10, 2017 10:41 pm

I am with 7.1 at this point in time.
Want to compensate me for my interest? Don't ask me, just do it
I'm available for custom phpBB jobs, you can PM me the details.
New: my Live Board, Extensions and Tools for phpBB - Men at works.

User avatar
sitesplat
Registered User
Posts: 8
Joined: Wed Dec 10, 2014 4:28 pm

Re: [RFC][3.3.x] Supported PHP versions

Post by sitesplat » Wed Jan 11, 2017 12:00 am

What are we keep sending stats info from the ACP if then we just jump ship with no good enough explanation?
Can we publish the stats data and see what it tells us?

Otherwise you're just going to have trolls and/or users who have no real understanding about the technology and therefore choosing an higher version just because sounds good. Already happened by the writing of this post.

Here's what should be published the same way about phpBB https://wordpress.org/about/stats/
If they upped the minimum requirement to PHP 7.0, do you think they would have the same user base?
- FLATBOOTS - phpBB Flat Design - Bootstrap3
- Contact me Via PM or e-mail for Custom work
- Deploy an SSD cloud server in 55 seconds. Sign up and get $10 in credit.

hubaishan
Registered User
Posts: 12
Joined: Fri Oct 21, 2011 11:29 am

Re: [RFC][3.3.x] Supported PHP versions

Post by hubaishan » Wed Jan 11, 2017 4:58 am

php 5.5 must be excluded from this vote it is in END OF LIFE now, see

http://php.net/supported-versions.php

as in https://www.phpbb.com/about/release/ the end of maintenance of 3.3.x is june 2019
Security support of php 5.6 will end in 31 Dec 2018
and php 7.0 will end in 3 Dec 2018
and php 7.1 will end in 1 Dec 2019 at the time of end of life of phpBB 3.3.x

so php 7.1 has the nearest supporting time to phpBB 3.3.x but if there is not any php 7.1 features needed in phpBB 3.3.x the best choice is php 7.0 for minimize developing headaches and syntax conflicts.

User avatar
Ger
Registered User
Posts: 270
Joined: Mon Jul 26, 2010 1:55 pm
Location: 192.168.1.100
Contact:

Re: [RFC][3.3.x] Supported PHP versions

Post by Ger » Wed Jan 11, 2017 12:39 pm

Marc wrote:
Tue Jan 10, 2017 9:10 pm
by the time phpBB 3.3.0 is released we should have a good enough user base on PHP 7.0
While I know phpBB doesn't plan on dates, I think the bold part is key in this discussion. As it is now, quite some hosts do not offer PHP 7 yet. AFAIK, CentOS for example ships PHP 5.5 by default. It might be 5.6, but surely not PHP 7.

That is of course the current situation. PHP 7 adoption is quite fast compared to PHP 5.x versions. phpBB 3.3 isn't planned for this month, maybe not even ready this year. 3.2 took more than 2 years. If development for phpBB 3.3 will take a similar amount of time, requiring PHP 7 will make perfect sense. When you expect it to be released this year, I would recommend to support the latest PHP 5.6.x version as well.
Above message may contain errors in grammar, spelling or wrongly chosen words. This is because I'm not a native speaker. My apologies in advance.

koraldon
Registered User
Posts: 15
Joined: Thu Mar 10, 2005 12:06 pm

Re: [RFC][3.3.x] Supported PHP versions

Post by koraldon » Fri Jan 13, 2017 8:39 am

Two things:
A) If you go to php7, this should entails a major version - i.e. phpbb 4.x - otherwise there is no sense to having minor/major versions. Semantic but important imho, as php7 will be a major BC break.
B) I would urge to go to php 5.6 as going to 7 is
b.1.) Most of the user base is still not using php 7, see WP or Joomla stats. It is maybe at 10% or even less. So 2 years from now I assume most of the people will still be at 5.x.
b.2.) PHP7 causes a break with a lot of other software, so if I upgrade my server to php7 for phpbb, I might break other software. This is very bad imho.
b.3.) It blocks direct upgrades from phpbb 3.1 or earlier, as they don't support php7 at all... No easy testing or rollback. Potential for nightmare upgrade issues.

Of course, if next version of phpbb releases in 4 years, than yes. But if it is in the next year or two, I think 5.6 is the way to go.
For reference:
Joomla 4 is slated to be released this year, minimum of 5.5, supported at least until 2020.
Drupal 8 was released last year, supported until 2022, minimum of 5.5
Symfony 3.3 (next version) minimum of 5.5
Last edited by koraldon on Fri Jan 13, 2017 9:26 am, edited 2 times in total.

Senky
Extension Customisations
Extension Customisations
Posts: 283
Joined: Thu Jul 16, 2009 4:41 pm

Re: [RFC][3.3.x] Supported PHP versions

Post by Senky » Fri Jan 13, 2017 8:51 am

koraldon wrote:
Fri Jan 13, 2017 8:39 am
b.3.) It blocks direct upgrades from phpbb 3.1 or earlier, as they don't support php7 at all... No easy testing or rollback. Potential for nightmare upgrade issues.
This is really strong argument. Even when we decide for 7.0, upgrade process must work on 5.4, or we won't allow users to directly upgrade 3.0->3.3 and 3.1->3.3.

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1731
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: [RFC][3.3.x] Supported PHP versions

Post by DavidIQ » Fri Jan 13, 2017 12:07 pm

Senky wrote:
Fri Jan 13, 2017 8:51 am
koraldon wrote:
Fri Jan 13, 2017 8:39 am
b.3.) It blocks direct upgrades from phpbb 3.1 or earlier, as they don't support php7 at all... No easy testing or rollback. Potential for nightmare upgrade issues.
This is really strong argument. Even when we decide for 7.0, upgrade process must work on 5.4, or we won't allow users to directly upgrade 3.0->3.3 and 3.1->3.3.
I don't see how this is relevant at all. You end up having to delete your old files and uploading the new set anyways so this is not a valid point. I will even go as far as suggesting that the automatic updater be removed in future versions for going across major versions.
Image

User avatar
david63
Registered User
Posts: 215
Joined: Mon Feb 07, 2005 7:23 am
Location: Lancashire, UK

Re: [RFC][3.3.x] Supported PHP versions

Post by david63 » Fri Jan 13, 2017 3:14 pm

DavidIQ wrote:
Fri Jan 13, 2017 12:07 pm
I will even go as far as suggesting that the automatic updater be removed in future versions for going across major versions.
Why stop at major versions - auto update should, in my opinion, have never been in 3.1/3.2
David
Remember: You only know what you know -
and you do not know what you do not know!

Post Reply