Categories
PHP

PHP 5.6.0 packages for Wheezy

On August 28th, the PHP group released the first stable version of the new major branch, PHP 5.6.0 :

The PHP Development Team announces the immediate availability of PHP 5.6.0. This new version comes with new features, some backward incompatible changes and many improvements.

The main features of PHP 5.6.0 include:

For a full list of new features, you may read the new features chapter of the migration guide.

PHP 5.6.0 also introduces changes that affect compatibility:

  • Array keys won’t be overwritten when defining an array as a property of a class via an array literal.
  • json_decode() is more strict in JSON syntax parsing.
  • Stream wrappers now verify peer certificates and host names by default when using SSL/TLS.
  • GMP resources are now objects.
  • Mcrypt functions now require valid keys and IVs.

On the Dotdeb side now, I wanted to make things right, so I spent my last 3 week-ends changing what happens under the hood :

  • First, syncing the packaging method to Sid’s one. Thanks to the Debian maintainers for their awesome work!
  • The main PHP 5.6 packages are now built using git-buildpackage.
  • The PECL extensions are now built using pkg-php-tools and a modified version of debpear. More info here… (Meaning that you could soon be able to easily package your own extensions).

Therefore, I’m now proud to announce that :

  • Packages of PHP 5.6.0 are now available for Debian 7 “Wheezy” on amd64 and i386 architectures
  • PECL extensions now have their own version numbers to reflect what really happens on pecl.php.net. The upgrade from previous versions of PHP should be seamless.
  • The brand new PHP debugger, phpdbg is available through its dedicated package : php5-phpdbg
  • msgpack support is now available by installing php5-msgpack
  • Pthreads support is now available by installing php5-pthreads
  • php5-http from previous versions of PHP has been updated and renamed php5-pecl-http, according to Debian’s guidelines

Of course, there are still points to be worked on :

  • Regression : php5-memcached lacks JSON support
  • Improvement : igbinary to be supported in PHP 5.6 (php5-igbinary), in php5-memcached and in php5-redis. As well as msgpack in php5-memcached
  • Missing packages : Xdebug and Xhprof are missing for now
  • End of support : Spplus won’t be supported anymore. Xcache’s and Pinba’s fates haven’t been decided yet

Considering this, these first packages should be seen as a preview :

  • Don’t upgrade critical/production environments yet, or at your own risk!
  • For users upgrading from PHP 5.5, a full migration guide is available, detailing the changes between 5.5 and 5.6.0
  • The full list of changes is available in the ChangeLog
  • Make sure that you understand the above PHP/Debian/Dotdeb changes and that you don’t need any of the missing features
  • Your feedbacks are always welcome. Just make sure they are useful.

To install PHP 5.6 or to upgrade from previous version just follow the instructions.

I hope you’ll enjoy this new major version of PHP. And as usual, feel free to show your support 🙂

Categories
Nginx

Nginx 1.6.2, for Wheezy and Squeeze

Nginx 1.6.2 has been released on September 16th 2014, with the following changes :

  • Security: it was possible to reuse SSL sessions in unrelated contexts if a shared SSL session cache or the same TLS session ticket key was used for multiple “server” blocks (CVE-2014-3616). Thanks to Antoine Delignat-Lavaud.
  • Bugfix: requests might hang if resolver was used and a DNS server returned a malformed response; the bug had appeared in 1.5.8.
  • Bugfix: requests might hang if resolver was used and a timeout occurred during a DNS request.

As a consequence, packages of Nginx 1.6.2 are now available for both Debian 7 “Wheezy” and Debian 6 “Squeeze” (amd64/i386).

Please note that the nginx-rtmp-module has been added to nginx-extras and that the other modules have been updated to their latest version.

For more details about which modules are included in the different Nginx flavors, just have to look at this document.

Categories
PHP

PHP 5.4.33, for Wheezy and Squeeze

On September 18th 2014, the PHP group released PHP 5.4.33.

10 bugs were fixed in this release. All PHP 5.4 users are encouraged to upgrade to this version.

This release is the last planned release that contains regular bugfixes. All the consequent releases will contain only security-relevant fixes, for the term of one year. PHP 5.4 users that need further bugfixes are encouraged to upgrade to PHP 5.6 or PHP 5.5.

The corresponding packages are now available on Dotdeb :

  • for Debian 7 “Wheezy” and Debian 6 “Squeeze”,
  • on both amd64 and i386 architectures.

The following modules have been packaged too :

  • APC 3.1.13
  • apcu 4.0.6
  • ffmpeg 0.6.0 (Squeeze only)
  • gearman 0.8.3
  • geoip 1.0.8
  • imagick 3.1.2
  • memcache 3.0.8
  • memcached 2.2.0
  • mongo 1.5.7
  • pecl_http 1.7.6
  • pinba (master)
  • redis 2.2.5
  • spplus 1.1
  • ssh2 0.12
  • xcache 3.2.0
  • xdebug 2.2.5
  • xhprof 0.9.4
  • zendopcache 7.0.3

As usual, please read the ChangeLog before upgrading and be sure to use to the latest packages before reporting any issue.

Categories
Redis

Redis 2.8.17

Redis 2.8.17 has been released on September 19th 2014, bringing a lot of changes.

The upgrade urgency is :

  • High for Redis Sentinel
  • Low for Redis Server (unmodified compared to 2.8.16)

The packages are now available for both Debian 7 “Wheezy” and Debian 6 “Squeeze” on both amd64 and i386 architectures.

Categories
PHP

PHP 5.5.17 for Debian Wheezy

On September 18th 2014, the PHP group released PHP 5.5.17.

Several bugs were fixed in this release. All PHP 5.5 users are encouraged to upgrade to this version.

PHP 5.5.17 packages are now available on Dotdeb for Debian 7.6 “Wheezy”, on both amd64 and i386 architectures.

The following modules have been packaged too :

  • apcu 4.0.6
  • gearman 0.8.3
  • geoip 1.0.8
  • imagick 3.1.2
  • memcache 3.0.8
  • memcached 2.2.0
  • mongo 1.5.7
  • pecl_http 1.7.6
  • pinba (master)
  • redis 2.2.5
  • spplus 1.1
  • ssh2 0.12
  • xcache 3.2.0
  • xdebug 2.2.5
  • xhprof 0.9.4

Please read the Changelog and the migration guide (be aware of the backward incompatible changes) before upgrading.

Categories
Redis

Redis 2.8.15 (almost 2.8.16…)

Redis 2.8.15 has been released on September 16th 2014, bringing a lot of changes.

The upgrade urgency is :

  • low for Redis,
  • high for Sentinel.

The packages are now available for both Debian 7 “Wheezy” and Debian 6 “Squeeze” on both amd64 and i386 architectures. Please note that these 2.8.15 packages include a fix for the AOF bug introduced in 2.8.15 / fixed in 2.8.16, so the next packaged version should be 2.8.17.

Categories
Redis

Redis 2.8.14

Redis 2.8.14 has been released on September 1st 2014, bringing a lot of changes.

The upgrade urgency is :

  • high for Lua scripting users – the server could crash because of a bug introduced in Redis 2.8.10,
  • otherwise low
  • low for Redis Sentinel.

The packages are now available for both Debian 7 “Wheezy” and Debian 6 “Squeeze” on both amd64 and i386 architectures.