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.)
Which version of PHP do you have as a minimum specification?
Moderator: General Moderators
-
jarofgreen
- Forum Commoner
- Posts: 71
- Joined: Sun Jul 11, 2010 12:40 pm
-
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
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
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
http://wpdevel.wordpress.com/2010/07/09 ... -2010-dev/ says
Wow. They ended security updates for PHP4 years ago. Who are these people?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.
Re: Which version of PHP do you have as a minimum specificat
I typically use 5.2+, but that's mainly cause it's required by the Zend Framework which I use.
- 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
5.2+
However I've been looking into Lithium and for future projects it's likely to be 5.3 minimum for me.
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
http://www.php.net/archive/2010.php#id2010-07-22-1 said on 22-Jul-2010
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
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.[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.
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
http://drupal.org/requirements saysPHP version 4.3 or greater
http://www.joomla.org/technical-requirements.html saysRecommended: PHP 5.2.x
Required: PHP version 4.4.0 or higher (Contributed modules may not support this version of PHP)
I'd still be very curious to find out which version of PHP most web-hosts offer, if anyone knows ...Recommended 5.2+ Minimum 4.3.10