[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
21%
7.0.x
39
70%
7.1.x
2
4%
 
Total votes: 56

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

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

Post by DavidIQ » Mon Jan 16, 2017 3:21 pm

koraldon wrote:
Mon Jan 16, 2017 3:16 pm
If a user has multiple installation of phpbb or other software (non-PHP7 compatible) than the upgrade to 3.3 (and php7) will crush that other software. I'm not familiar with setting different php version per directoy and from a quick look at the setting in Cpanel I didn't find it... I assume that those with private servers might have it, but it is more "headache" for shared hosts and another technical "challenge"/Source for problems during upgrade.
I use ICDSoft as my shared hosting provider for davidiq.com and their support documentation shows how to do it through .htaccess files:
https://tickets.suresupport.com/faq/art ... hp_version

Not really sure how other hosts are allowing for this, but I would imagine they probably have some way to do the same thing. If it's not the case that hosting providers are allowing for this then that might be another issue with the proposal since we can't guarantee other software, such as Coppermine, WordPress, Joomla!, Drupal, etc., will also work with PHP 7.
Image

User avatar
P_I
Registered User
Posts: 68
Joined: Fri Oct 31, 2014 4:56 am

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

Post by P_I » Mon Jan 16, 2017 3:28 pm

Ger wrote:
Mon Jan 16, 2017 2:30 pm
Anyway: what you suggest works, IF you host even supports both PHP 5.x and PHP 7.x. If not, a move from host A to host B is required in the process, something that complicates stuff.
I'll add one more complication to the mix, configuring the local testing environment to support multiple PHP versions.

My hosting provider does indeed support both PHP 5.x and PHP 7.0. So I've got the checked off.

However, as mentioned up topic, my local testbed (CentOS 7) only supports PHP 5.4.x. Through the selection of an outside repository (remi) I was able to add PHP 5.6 (or PHP 7) support. Since I've never had a requirement to run both versions, I'm on a learning curve to figure out how to update my testing environment so support multiple PHP versions so I can test my various forums (and WordPress and MediaWiki installs) without jumping through hoops. I'm a techie, so learning new stuff like this is education and fun, but I'm not sure every forum admin will take that viewpoint.

That shouldn't stop this discussion and moving forward on more current PHP version support, just add a data point about the life of forum admins.

User avatar
Ger
Registered User
Posts: 262
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 » Mon Jan 16, 2017 3:52 pm

DavidIQ wrote:
Mon Jan 16, 2017 3:21 pm
Not really sure how other hosts are allowing for this, but I would imagine they probably have some way to do the same thing. If it's not the case that hosting providers are allowing for this then that might be another issue with the proposal since we can't guarantee other software, such as Coppermine, WordPress, Joomla!, Drupal, etc., will also work with PHP 7.
I have current experience with 4 different hosting companies in The Netherlands. 2 of them offer a simple switch trough the hosts' control panel, 1 offers it through a posting a request that's supposedly handled within 1 working day (not really ideal for such a procedure) and 1 doesn't offer PHP 7 at all.
Of course this is just a small sample of hosts and things will change within the coming year.
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.

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

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

Post by david63 » Mon Jan 16, 2017 4:19 pm

Out of interest/curiosity - do the stats from phpBB installs show the version of PHP that is used, and if not would it be an idea to add them (if that is possible)
David
Remember: You only know what you know -
and you do not know what you do not know!

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

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

Post by sitesplat » Mon Jan 16, 2017 7:19 pm

sitesplat wrote:
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?

Hey David, that's exactly what I was suggesting here... This would also make phpBB more transparent about how the data used and why.
- 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.

User avatar
VSE
Extensions Team
Extensions Team
Posts: 666
Joined: Mon Mar 08, 2010 9:18 am

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

Post by VSE » Mon Jan 16, 2017 9:24 pm

david63 wrote:
Mon Jan 16, 2017 4:19 pm
Out of interest/curiosity - do the stats from phpBB installs show the version of PHP that is used, and if not would it be an idea to add them (if that is possible)
Just go to the ACP, choose the Help support phpBB panel, and click Show details.

Oh, the answer is Yes.
Has an irascible disposition.

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

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

Post by david63 » Mon Jan 16, 2017 10:07 pm

I was not referring to individual boards but the total data collected from all boards which should centrally give an indication of the versions being used and the trend.
David
Remember: You only know what you know -
and you do not know what you do not know!

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

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

Post by Marc » Tue Jan 17, 2017 6:58 am

We're currently looking into the current stats. You should however keep in mind that there is a significant amount of data and processing this through elastic search takes a fair amount of time.

User avatar
rxu
Registered User
Posts: 122
Joined: Tue Apr 04, 2006 4:28 pm
Contact:

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

Post by rxu » Sun Mar 12, 2017 8:35 am

Was any choice made so far? :)
Image

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

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

Post by Marc » Sun May 21, 2017 2:22 pm

I think some time has passed now and it has come to my attention that Symfony 3.4 will still support PHP 5.6. That will most likely be our targeted version of Symfony as it's a LTS release. Also, PHP 5.6 will most likely still be supported for the time phpBB 3.3 is released so I think it's a good idea to go with PHP 5.6 as minimum or the same as Symfony right now.

Post Reply

Who is online

Users browsing this forum: Google [Bot], psbot [Picsearch] and 30 guests