Jump to: navigation, search

Difference between revisions of "OpenStack-SDK-PHP/MinimumVersion"

(PHP Version Usage)
(Minimum PHP Version for Applications, Frameworks, and Libraries)
Line 100: Line 100:
 
=== Wordpress ===
 
=== Wordpress ===
 
As of Wordpress 3.2 it requires PHP 5.2.4 or higher.
 
As of Wordpress 3.2 it requires PHP 5.2.4 or higher.
 +
 +
=== Joomla ===
 +
Joomla requires 5.2.4 at the very minimum, but [http://www.joomla.org/technical-requirements.html strongly recommends] 5.4. The new release will bump this up to 5.3 and [https://groups.google.com/d/msg/php-fig/ogp03OHbVJ0/_ezI_1kBlGEJ there is talk] of a 5.4 requirement in the near future.
 +
 +
=== Yii ===
 +
Yii2 requires 5.4.
  
 
=== Laravel ===
 
=== Laravel ===
Laravel 4.0 and 4.1 require PHP 5.3. The master branch of in development code requires PHP 5.4.
+
Laravel 4.0 and 4.1 currently require PHP 5.3. Taylor Otwell, the lead developer, has [https://groups.google.com/d/msg/php-fig/ogp03OHbVJ0/GBgTVcNY1J0J announced] that Laravel will be moving to 5.4 for the May 2014 release.
  
 
=== Zend Framework (zf2) ===
 
=== Zend Framework (zf2) ===
Line 117: Line 123:
  
 
=== AWS SDK ===
 
=== AWS SDK ===
Requires PHP 5.3.3 or newer.
+
Requires PHP 5.3.3 or newer. With the release of Guzzle 4, I'm fairly sure the AWS SDK will move to 5.4 too.
  
 
=== Azure SDK ===
 
=== Azure SDK ===
 
Requires PHP 5.3.0 or newer.
 
Requires PHP 5.3.0 or newer.

Revision as of 14:47, 23 February 2014

This document attempts to detail the current state of PHP versions working to find the minimum version of PHP the OpenStack SDK should support. This document is relevant as of February 2014.

PHP Version Usage

According to w3techs, PHP 5 has a 97.7% market share. The minor version usage breakdown as of February 2014 is:

Version Usage State
5.5 1.2% Latest
5.4 13.1% Stable
5.3 52.1% EOL 7/2014
5.2 31.8% EOL
5.1 1.7% EOL
5.0 .7% EOL

Data from w3techs.

Note: For those with Zend Server agreements there will be longer term PHP 5.3 support. Zend have pledged an additional 2 years support for 5.3 after its EOL (March 2013). They will no longer support 5.3 in ~12 months (March 2015).

PHP Version Shipped in Operating Systems and Toolkits

Apple

System Version PHP Version
10.9 5.4
10.8 5.3

Ubuntu

System Version PHP Version System Support
14.04 LTS 5.5 Not yet released. Supported until spring 2019.
13.10 5.5 Supported until summer 2014
13.04 5.4 No longer supported
12.10 5.4 Supported until spring 2014
12.04 LTS 5.3 Supported until spring 2017
10.04 LTS 5.3 Supported until spring 2015

Ubuntu release information from wikipedia.

Debian

System Version PHP Version System Support
8 5.5 Not yet released.
7 5.4 TBA
6 5.3 Expected May 2014

CentOS

System Version Full Updates Maintenance Updates
6 Q2 2016 November 2020
5 January 2013 March 2017

You can install PHP 5.5 and 5.4 via yum.

Microsoft


Minimum PHP Version for Applications, Frameworks, and Libraries

Drupal

App Version PHP Version Status
8 5.4 In development. Release TBD (potentially 2014). Potentially supported for 6 years.
7 5.3 Stable. Supported until Drupal 9 comes out which is estimated at being 3 - 4 years.
6 4.4 EOL when Drupal 8 is released or shortly after.

Wordpress

As of Wordpress 3.2 it requires PHP 5.2.4 or higher.

Joomla

Joomla requires 5.2.4 at the very minimum, but strongly recommends 5.4. The new release will bump this up to 5.3 and there is talk of a 5.4 requirement in the near future.

Yii

Yii2 requires 5.4.

Laravel

Laravel 4.0 and 4.1 currently require PHP 5.3. Taylor Otwell, the lead developer, has announced that Laravel will be moving to 5.4 for the May 2014 release.

Zend Framework (zf2)

Required PHP 5.3.3 or newer. The latest development branch required 5.3.23. There is no ticket to move to a newer version of PHP.

Symfony

Currently requires PHP 5.3.3 or newer.

PHPUnit

Requires PHP 5.3.3 or newer.

PHPDoc

Requires PHP 5.3.3 or newer.

AWS SDK

Requires PHP 5.3.3 or newer. With the release of Guzzle 4, I'm fairly sure the AWS SDK will move to 5.4 too.

Azure SDK

Requires PHP 5.3.0 or newer.