[RFC|Merged] Require PHP 5.3

These requests for comments/change have lead to an implemented feature that has been successfully merged into the 3.1/Ascraeus branch. Everything listed in this forum will be available in phpBB 3.1.
Post Reply
Oleg
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am
Contact:

Re: [RFC] Require PHP 5.3

Post by Oleg » Sat Feb 25, 2012 10:19 pm

phpBB 3.1 "Ascraeus" to require PHP 5.3.2

The next major release of phpBB, phpBB 3.1 "Ascraeus", will require PHP 5.3.2 or newer.

PHP 5.3 provides important functionality that a number of established projects are using. As it is phpBB's goal to use components from other projects where doing so makes sense, raising minimum PHP version to 5.3 allows phpBB to reuse some components from Symfony instead of reimplementing equivalent functionality. This will speed up the completion of phpBB 3.1 by reducing the amount of work that Development Team has to do.

You can read the discussion leading to the decision.

All major distributions are already shipping PHP 5.3.2 or newer in their current stable versions. You can find a table of several distributions and the versions they ship here.

phpBB 3.0 "Olympus" will continue to require PHP 4.3.3 as the minimum version.

phpBB 3.0.10 supports PHP 5.3. Since PHP 5.2 is no longer maintained by PHP developers, all users not already running PHP 5.3 are strongly encouraged to move to PHP 5.3.

As phpBB 3.1 "Ascraeus" is still under active development, there is still plenty of time to upgrade your PHP installation.

Additionally, one should note that this announcement does not imply that phpBB 3.1 will see large portions of code rewritten in order to take advantage of new features in PHP 5.3. Instead, sections of code will be updated as needed in the 3.x release cycle.

User avatar
igorw
Registered User
Posts: 500
Joined: Thu Jan 04, 2007 11:47 pm

Re: [RFC] Require PHP 5.3

Post by igorw » Sun Feb 26, 2012 12:13 am

Not sure if I'm being optimistic or diplomatic here, but:
As phpBB 3.1 "Ascraeus" is still under active development, there is still plenty of time to upgrade your PHP installation.
Should imo be:
As phpBB 3.1 "Ascraeus" is still under active development, there is still some time to upgrade your PHP installation.
Apart from that, thumbsup.

Oleg
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am
Contact:

Re: [RFC] Require PHP 5.3

Post by Oleg » Sun Feb 26, 2012 5:19 am

That part can be taken out entirely along with the last paragraph.

User avatar
callumacrae
Infrastructure Team
Infrastructure Team
Posts: 1046
Joined: Tue Apr 27, 2010 9:37 am
Location: England
Contact:

Re: [RFC] Require PHP 5.3

Post by callumacrae » Fri Mar 02, 2012 9:30 am

PHP 5.4.0 was just release – now I agree with dropping support for 5.2 xD
Made by developers, for developers!
My blog

User avatar
JoshyPHP
Registered User
Posts: 349
Joined: Fri Jul 08, 2011 9:43 pm

Re: [RFC] Require PHP 5.3

Post by JoshyPHP » Fri Mar 02, 2012 12:57 pm

Incidentally, php-dev is already talking about EOL'ing 5.3.

User avatar
callumacrae
Infrastructure Team
Infrastructure Team
Posts: 1046
Joined: Tue Apr 27, 2010 9:37 am
Location: England
Contact:

Re: [RFC] Require PHP 5.3

Post by callumacrae » Fri Mar 02, 2012 3:43 pm

JoshyPHP wrote:Incidentally, php-dev is already talking about EOL'ing 5.3.
Yeah, they always do. It you look at previous EOL RFCs, they generally take four or five years to go through.
Made by developers, for developers!
My blog

Oleg
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am
Contact:

Re: [RFC] Require PHP 5.3

Post by Oleg » Wed Mar 07, 2012 8:33 pm

This RFC needs movement as it is now blocking hooks via the dispatcher.

User avatar
imkingdavid
Registered User
Posts: 1050
Joined: Thu Jul 30, 2009 12:06 pm

Re: [RFC] Require PHP 5.3

Post by imkingdavid » Thu Mar 08, 2012 10:34 pm

Oleg wrote:We need:
...
2. Ticket/PR for 3.1 to add an install check/whatever other checks we already have for 5.3 and refuse to install if it is not met. Note that we have the acp environment checks PR fixed and waiting for another review pass, it would be great to review that one and test it with the 5.2 to 5.3 bump.
...
Pull Request
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

User avatar
MichaelC
Development Team
Development Team
Posts: 889
Joined: Thu Jan 28, 2010 6:29 pm

Re: [RFC] Require PHP 5.3

Post by MichaelC » Fri Mar 09, 2012 11:15 am

imkingdavid wrote:
Oleg wrote:We need:
...
2. Ticket/PR for 3.1 to add an install check/whatever other checks we already have for 5.3 and refuse to install if it is not met. Note that we have the acp environment checks PR fixed and waiting for another review pass, it would be great to review that one and test it with the 5.2 to 5.3 bump.
...
Pull Request
https://github.com/phpbb/phpbb3/pull/318

Environment checks, it needs to check current installs as well as new installs.
Formerly known as Unknown Bliss
psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
No unsolicited PMs please except for quotes.

User avatar
imkingdavid
Registered User
Posts: 1050
Joined: Thu Jul 30, 2009 12:06 pm

Re: [RFC] Require PHP 5.3

Post by imkingdavid » Fri Mar 09, 2012 2:51 pm

For the record
Oleg wrote:1. Ticket/PR for 3.0 to add a note/warning.
Cannot be done until:
Oleg wrote:3. Announcement on .com, is that Nils' prerogative or can anyone make it? What is the procedure for that?
Once that's posted, the change is quite simple, just updating the PHP version number in includes/acp/acp_main.php and changing the link to that of the new announcement.
Before that gets merged it will need to be changed for 5.3.2 here.
Unknown Bliss wrote:Environment checks, it needs to check current installs as well as new installs.
It will. The first PR is only for new installs. I cannot do the second PR (which is to check current installs) until the announcement is posted, as I said above.
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

Post Reply