Deprecation and removal of PHP 5.6

Title: Deprecation and removal of PHP 5.6
Author: Brian Evans <>
Posted: 2019-08-30
Revision: 2
News-Item-Format: 2.0
Display-If-Installed: dev-lang/php:5.6
Display-If-Installed: dev-php/haru
Display-If-Installed: dev-php/magickwand
Display-If-Installed: dev-php/pecl-bbcode
Display-If-Installed: dev-php/pecl-cairo
Display-If-Installed: dev-php/pecl-dbx
Display-If-Installed: dev-php/pecl-htscanner
Display-If-Installed: dev-php/pecl-libevent
Display-If-Installed: dev-php/pecl-memcache
Display-If-Installed: dev-php/pecl-mongo
Display-If-Installed: dev-php/pecl-mysqlnd_ms
Display-If-Installed: dev-php/pecl-mysqlnd_qc
Display-If-Installed: dev-php/pecl-sphinx
Display-If-Installed: dev-php/pecl-spl_types
Display-If-Installed: dev-php/pecl-svn
Display-If-Installed: dev-php/pecl-xrange
Display-If-Installed: dev-php/suhosin
Display-If-Installed: dev-php/xcache
Display-If-Installed: dev-php/xhprof
Display-If-Installed: dev-php/pecl-apcu:0
Display-If-Installed: dev-php/pecl-dbase:0
Display-If-Installed: dev-php/pecl-http:2
Display-If-Installed: dev-php/pecl-mailparse:0
Display-If-Installed: dev-php/pecl-memcached:0
Display-If-Installed: dev-php/pecl-oauth:0
Display-If-Installed: dev-php/pecl-propro:0
Display-If-Installed: dev-php/pecl-ps:0
Display-If-Installed: dev-php/pecl-raphf:0
Display-If-Installed: dev-php/pecl-rrd:0
Display-If-Installed: dev-php/pecl-ssh2:0
Display-If-Installed: dev-php/pecl-stomp:0
Display-If-Installed: dev-php/pecl-xdiff:0
Display-If-Installed: dev-php/pecl-yaml:0
Display-If-Installed: dev-php/twig[extension]
Display-If-Installed: dev-php/PEAR-MDB2_Driver_mysql
Display-If-Installed: media-gfx/exact-image[php]
Display-If-Installed: sci-geosciences/mapserver[php,php_targets_php5-6]
Display-If-Installed: www-apps/rutorrent:3.4-r1
Display-If-Installed: www-server/nginx-unit[php56]

The Gentoo PHP Team is announcing the deprecation and future removal of
PHP 5.6. As of October 1, 2019, PHP 5.6 will be masked for removal.
Since some may consider this a critical package, we have decided on a
longer than normal 90 day removal period.

Other distributions have already or will have moved to PHP 7.2 by the end of
the year.  Currently, we are using a backport repository to keep
security updates in line with the main releases.  However, we feel this
is the right time to remove this branch as maintenance burden will
likely only increase.

To that end, the long list of PHP 5 only extensions must accompany its
removal. Many of which are long ignored by their upstream maintainers
and have no replacements.  Some packages listed here have PHP 5 only
slots which are included as reminders to upgrade.

Some packages do have replacements:
dev-php/pecl-memcache can be replaced by dev-php/pecl-memcached with
  some small code modifications
dev-php/pecl-mongo has been superceded by dev-php/pecl-mongodb
dev-php/pecl-libevent should be replaced by dev-php/pecl-event
  with code changes
dev-php/PEAR-MDB2_Driver_mysql should be easily replaced by
  dev-php/PEAR-MDB2_Driver_mysqli with minor configuration changes