Which version of PHP do you have as a minimum specification?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply

What do you have as a minimum specification for open projects?

PHP5
0
No votes
PHP5.1
0
No votes
PHP5.2
3
100%
PHP5.3
0
No votes
 
Total votes: 3

jarofgreen
Forum Commoner
Posts: 71
Joined: Sun Jul 11, 2010 12:40 pm

Which version of PHP do you have as a minimum specification?

Post by jarofgreen »

On our open source project, we currently try to target PHP5 as the minimum required version.

However PHP 5.2 has some nice features it would be good to use.

Are there are survey's of which version of PHP is installed on servers? What do you have as a minimum specification for open projects? I'm going to add a poll but if anyone has links to surveys that would be great ...

(I'm saying open, cos on closed projects presumably you control the server so this isn't a problem, you can specify what you want.)
jarofgreen
Forum Commoner
Posts: 71
Joined: Sun Jul 11, 2010 12:40 pm

Re: Which version of PHP do you have as a minimum specificat

Post by jarofgreen »

Altho I suddenly thought, have they ended security updates for 5 and 5.1, in which case I should really take those options off the poll and just ask about 5.2 and 5.3 ... can't find any definite information but it looks like it. Anyone know?
jarofgreen
Forum Commoner
Posts: 71
Joined: Sun Jul 11, 2010 12:40 pm

Re: Which version of PHP do you have as a minimum specificat

Post by jarofgreen »

Doing some Googling, and found that adoption rates are far slower than I thought. I assumed everyone would have as a minimum requirement a PHP version that was getting security updates at least ...

http://wpdevel.wordpress.com/2010/07/09 ... -2010-dev/ says
For WordPress 2.7 and higher, 7.56% are using PHP 4.
For WordPress 2.7 and higher, 3.60% are using PHP 5.0.x or 5.1.x.
Combined, that is 11.16% of WordPress installs using a PHP version lower than 5.2.
Wow. They ended security updates for PHP4 years ago. Who are these people?
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Which version of PHP do you have as a minimum specificat

Post by Eran »

I typically use 5.2+, but that's mainly cause it's required by the Zend Framework which I use.
User avatar
greyhoundcode
Forum Regular
Posts: 613
Joined: Mon Feb 11, 2008 4:22 am

Re: Which version of PHP do you have as a minimum specificat

Post by greyhoundcode »

5.2+

However I've been looking into Lithium and for future projects it's likely to be 5.3 minimum for me.
jarofgreen
Forum Commoner
Posts: 71
Joined: Sun Jul 11, 2010 12:40 pm

Re: Which version of PHP do you have as a minimum specificat

Post by jarofgreen »

http://www.php.net/archive/2010.php#id2010-07-22-1 said on 22-Jul-2010
[PHP 5.2.14] marks the end of the active support for PHP 5.2. Following this release the PHP 5.2 series will receive no further active bug maintenance. Security fixes for PHP 5.2 might be published on a case by cases basis. All users of PHP 5.2 are encouraged to upgrade to PHP 5.3.
I can find no mention on the official blog of when 5.0 and 5.1 security support ended, but I'm going to guess from the fact that they are not even mentioned on the downloads page that it has.

Given that, I'm going to jump to 5.2 so I can use some of the later features to.

Interesting how slow the adoption rate of others is.

http://wordpress.org/about/requirements/ still says
PHP version 4.3 or greater
http://drupal.org/requirements says
Recommended: PHP 5.2.x
Required: PHP version 4.4.0 or higher (Contributed modules may not support this version of PHP)
http://www.joomla.org/technical-requirements.html says
Recommended 5.2+ Minimum 4.3.10
I'd still be very curious to find out which version of PHP most web-hosts offer, if anyone knows ...
Post Reply