Features/Php54

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
(php-digidoc OK)
m (updated last touched date based on history)
 
(27 intermediate revisions by 3 users not shown)
Line 21: Line 21:
 
== Current status ==
 
== Current status ==
 
* Targeted release: [[Releases/17 | Fedora 17 ]]  
 
* Targeted release: [[Releases/17 | Fedora 17 ]]  
* Last updated: 2011-12-27
+
* Last updated: 2012-03-02
* Percentage of completion: 0%
+
* Percentage of completion: 100%  
 +
 
  
 
<!-- CHANGE THE "FedoraVersion" TEMPLATES ABOVE TO PLAIN NUMBERS WHEN YOU COMPLETE YOUR PAGE. -->
 
<!-- CHANGE THE "FedoraVersion" TEMPLATES ABOVE TO PLAIN NUMBERS WHEN YOU COMPLETE YOUR PAGE. -->
Line 30: Line 31:
 
Fedora provides PHP 5.3.x since version 12. ZTS module for apache is provided without any extension/module, this lack make it nearly unusable.
 
Fedora provides PHP 5.3.x since version 12. ZTS module for apache is provided without any extension/module, this lack make it nearly unusable.
  
PHP '''5.4.0RC4''' was published for christmas, see [http://www.php.net/archive/2011.php#id2011-12-25-1 annouce]. Finale version should be available before fedora 17.
+
PHP '''5.4.0RC4''' was published for christmas, see [http://www.php.net/archive/2011.php#id2011-12-25-1 announce]. Finale version should be available before fedora 17.
 +
 
 +
PHP '''5.4.0RC5''' is released (Jan 7th)
 +
 
 +
PHP '''5.4.0RC6''' is released (Jan 24th)
 +
 
 +
PHP '''5.4.0RC7''' is released (Feb 3rd)
 +
 
 +
PHP '''5.4.0RC8''' is released (Feb 18)
 +
 
 +
PHP '''5.4.0 finale''' is released (Mar 01)
 +
 
  
* Update to PHP 5.4.0
+
* Update to PHP 5.4.0 (done)
* Build ZTS extensions/modules
+
* Build ZTS extensions/modules (done)
* Provide ZTS devel stuff (in php-devel)
+
* Provide ZTS devel stuff in php-devel (done)
 
* Update other extensions (mostly pecl) for latest ABI
 
* Update other extensions (mostly pecl) for latest ABI
 
* Update PHP Guidelines
 
* Update PHP Guidelines
Line 80: Line 92:
 
* graphviz-php : version 2.28.0 (need -fpermissive or patched swig: bug #770696)
 
* graphviz-php : version 2.28.0 (need -fpermissive or patched swig: bug #770696)
 
* ice-php : version 3.4.2 + patch
 
* ice-php : version 3.4.2 + patch
* php-digidoc = version 0.3.0
+
* php-digidoc : version 0.3.0
* php-eaccelerator
+
* php-eaccelerator upstream seems dead
* php-facedetect
+
* php-facedetect : version 1.0.1 + patch
* php-idn
+
* php-idn : version 1.2c with patch (upstream seems dead)
* php-libpuzzle
+
* php-libpuzzle : version 0.11
 
* php-libvirt : version 0.4.5 + patch
 
* php-libvirt : version 0.4.5 + patch
 
* php-magickwand : version 1.0.9
 
* php-magickwand : version 1.0.9
* php-mapi
+
* php-mapi : version 7.0.3 + patch
 
* php-pecl-apc : version 3.1.9 + svn snapshot
 
* php-pecl-apc : version 3.1.9 + svn snapshot
 
* php-pecl-gearman : version 1.0.1
 
* php-pecl-gearman : version 1.0.1
Line 110: Line 122:
 
* php-pecl-yaml : version 1.0.1
 
* php-pecl-yaml : version 1.0.1
 
* php-shout : version 0.9.2
 
* php-shout : version 0.9.2
* rrdtool-php
+
* rrdtool-php : version 1.4.4 + patch (or to be replaced by php-pecl-rrd)
* syck-php
+
* syck-php : version 0.61 with patch (or switch to php-pecl-syck)
 
* uuid-php : version 1.6.2 + patch
 
* uuid-php : version 1.6.2 + patch
* zorba-php
+
* zorba-php : version 2.1.0 with patched swig
  
 
N.B. when version is given, this means package have been build/test against php 5.4. All patches are, of course, reported to each upstream.
 
N.B. when version is given, this means package have been build/test against php 5.4. All patches are, of course, reported to each upstream.
Line 122: Line 134:
 
Work in a dedicated build target. Merge only when all is ok.
 
Work in a dedicated build target. Merge only when all is ok.
  
 +
There is a low risk that finale version not released at f17 time, but in case, we'll ship RC5 (or greater).
  
 
== Documentation ==
 
== Documentation ==
Line 133: Line 146:
 
<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns.  If there are any such changes involved in this feature, indicate them here.  You can also link to upstream documentation if it satisfies this need.  This information forms the basis of the release notes edited by the documentation team and shipped with the release. -->
 
<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns.  If there are any such changes involved in this feature, indicate them here.  You can also link to upstream documentation if it satisfies this need.  This information forms the basis of the release notes edited by the documentation team and shipped with the release. -->
 
*
 
*
Fedora 17 includes version 5.4.0 of php. This includes a number of significant new features, including support for [http://www.php.net/traits traits], as well as a number of performance enhancements. For complete details see  [http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/UPGRADING?view=co UPGRADING] (link to upstream announcement when available).
+
Fedora 17 includes version 5.4.0 of php. This includes a number of significant new features, including support for [http://www.php.net/traits Traits], and a minimal [http://www.php.net/manual/en/features.commandline.webserver.php Built-in web server] as well as a number of performance enhancements. For complete details see  [http://fr2.php.net/manual/en/migration54.php Migrating from PHP 5.3.x to PHP 5.4.x].
  
Fedora 17 now provides php extension to used with apache in worker mode (aka as ZTS extensions)
+
Fedora 17 now provides php extension to used with apache in worker mode (aka as ZTS extensions). This should be considered as experimental.
  
 +
The eAccelerator project is dead, no upate, no compatible version, so php-eaccelerator have been removed from the repository. The APC is a good alternative as this opcode cache is maintained by the PHP team itself, so use the php-pecl-apc package.
  
 
== Comments and Discussion ==
 
== Comments and Discussion ==
Line 148: Line 162:
  
  
[[Category:FeatureReadyForWrangler]]
+
[[Category:FeatureAcceptedF17]]
 
<!-- When your feature page is completed and ready for review -->
 
<!-- When your feature page is completed and ready for review -->
 
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
 
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
 
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
 
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
 
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->
 
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->

Latest revision as of 13:50, 8 March 2012


Contents

[edit] PHP 5.4

[edit] Summary

To provide the latest PHP stack.

[edit] Owner

  • Email: Fedora AT SPAMFREE FamilleCollet DOT com

[edit] Current status

  • Targeted release: Fedora 17
  • Last updated: 2012-03-02
  • Percentage of completion: 100%


[edit] Detailed Description

Fedora provides PHP 5.3.x since version 12. ZTS module for apache is provided without any extension/module, this lack make it nearly unusable.

PHP 5.4.0RC4 was published for christmas, see announce. Finale version should be available before fedora 17.

PHP 5.4.0RC5 is released (Jan 7th)

PHP 5.4.0RC6 is released (Jan 24th)

PHP 5.4.0RC7 is released (Feb 3rd)

PHP 5.4.0RC8 is released (Feb 18)

PHP 5.4.0 finale is released (Mar 01)


  • Update to PHP 5.4.0 (done)
  • Build ZTS extensions/modules (done)
  • Provide ZTS devel stuff in php-devel (done)
  • Update other extensions (mostly pecl) for latest ABI
  • Update PHP Guidelines

[edit] Benefit to Fedora

Provides the latest PHP version.

[edit] Scope

  • Mass rebuild of all packages which requires php ABI, some will requires update or patch
  • Test of web applications


[edit] How To Test

  • test PHP web applications available in the repository
  • test PHP with apache in worker mode (ZTS modules)

[edit] User Experience

  • Web developper will get the latest upstream PHP version

[edit] Dependencies

From repoquery --whatrequires 'php(zend-abi)'

  • cups-php : version 1.5.0 + patch
  • graphviz-php : version 2.28.0 (need -fpermissive or patched swig: bug #770696)
  • ice-php : version 3.4.2 + patch
  • php-digidoc : version 0.3.0
  • php-eaccelerator upstream seems dead
  • php-facedetect : version 1.0.1 + patch
  • php-idn : version 1.2c with patch (upstream seems dead)
  • php-libpuzzle : version 0.11
  • php-libvirt : version 0.4.5 + patch
  • php-magickwand : version 1.0.9
  • php-mapi : version 7.0.3 + patch
  • php-pecl-apc : version 3.1.9 + svn snapshot
  • php-pecl-gearman : version 1.0.1
  • php-pecl-geoip : version 1.0.8
  • php-pecl-gmagick : version 1.0.10b1
  • php-pecl-igbinary : version 1.0.2 from git
  • php-pecl-imagick : version 3.1.0RC1
  • php-pecl-lzf : version 1.5.2
  • php-pecl-mailparse : version 2.1.5 + patch
  • php-pecl-memcache : version 3.0.6 + patch
  • php-pecl-memcached : version 2.0.0 from git
  • php-pecl-mongo : version 1.2.6
  • php-pecl-ncurses : version 1.0.1
  • php-pecl-oauth : version 1.2.2
  • php-pecl-radius : version 1.2.5
  • php-pecl-rrd : version 1.0.5
  • php-pecl-selinux : version 0.3.1
  • php-pecl-solr : version 1.0.2
  • php-pecl-sphinx : version 1.1.0
  • php-pecl-ssh2 : version 0.11.3
  • php-pecl-xdebug : version 2.2.0 from git
  • php-pecl-yaml : version 1.0.1
  • php-shout : version 0.9.2
  • rrdtool-php : version 1.4.4 + patch (or to be replaced by php-pecl-rrd)
  • syck-php : version 0.61 with patch (or switch to php-pecl-syck)
  • uuid-php : version 1.6.2 + patch
  • zorba-php : version 2.1.0 with patched swig

N.B. when version is given, this means package have been build/test against php 5.4. All patches are, of course, reported to each upstream.

[edit] Contingency Plan

Work in a dedicated build target. Merge only when all is ok.

There is a low risk that finale version not released at f17 time, but in case, we'll ship RC5 (or greater).

[edit] Documentation

[edit] Release Notes

Fedora 17 includes version 5.4.0 of php. This includes a number of significant new features, including support for Traits, and a minimal Built-in web server as well as a number of performance enhancements. For complete details see Migrating from PHP 5.3.x to PHP 5.4.x.

Fedora 17 now provides php extension to used with apache in worker mode (aka as ZTS extensions). This should be considered as experimental.

The eAccelerator project is dead, no upate, no compatible version, so php-eaccelerator have been removed from the repository. The APC is a good alternative as this opcode cache is maintained by the PHP team itself, so use the php-pecl-apc package.

[edit] Comments and Discussion

The feature could be split if needed:

  • PHP 5.4.0
  • ZTS extensions


See Talk:Features/Php54