Hey fellow developers, we (as in pkg-php-* teams) been working on PHP 5.x to PHP 7.0 transition for some while and I think it's time to start a MBF to get this sorted out before the next freeze.
There are several main things to be done: 1. You need to change all dependencies from php5-<foo> to php-<foo> 1a) internal PHP extensions built from src:php7.0 are solved by php-<foo> depending on default PHP version 1b) external PHP extensions (from PECL) are named just php-<foo> to allow binNMUs when we bump PHP major or minor version NOTE: every extension package list php-<ext1>, php-<ext2>, php-<ext3> in Provides, if you require specific extension, please try to depend on that specific extension. Here I would strongly recommend using pkg-php-tools if you can, as the simple rebuild could fix your package to be compatible with new PHP packaging. 2. You need to check that the PHP code inside your package is compatible with PHP 7.0 - you can do that now in unstable with existing packages - binary packages from src:php5 and src:php7.0 are coinstallable, so you can do `apt-get install php5-fpm php-fpm` and configure your web server correctly to use either PHP 7.0 or PHP 5.6. Everybody depending on PHP is also welcome to join our mailing lists where we discussed the changes that have been done (that is pkg-php-main for interpreter packaging, pkg-php-pecl for PHP extensions and pkg-php-pear for PEAR modules). I am also suggesting that instead of packaging PECL or PEAR stuff on your own, you are welcome to join the packaging teams and help others with packaging and be helped with your packages. Some of the really old and upstream-orphaned code will have to be dropped from Debian. Please take it as a good sign to increase overall quality of PHP codebase in Debian :). And last warning - really don't depend on versioned variants of the PHP packages, that will prevent automatic transitions between PHP major.minor versions. If you really think you need to do so, please come and explain your reasons to our mailing list before you do so. Cheers, Ondrej P.S.: The new packaging structure allows multiple versions of PHP to happily coexist, but this won't be supported from within a stable Debian release, but it allows us (the PHP team can't wait for bikeshed repos) and external package providers to host that externally -> you can find some of the work in https://packages.sury.org/php/ for Debian jessie and ppa:ondrej/php for Ubuntu (trusty and higher). dd-list follows: Alan Boudreault <aboudrea...@mapgears.com> mapserver (U) Alessandro De Zorzi <l...@nonlontano.it> phamm (U) php-fpdf Alex Denvir <cold...@blueyonder.co.uk> libexpect-php5 Alexander Wirt <formo...@debian.org> icinga-web (U) nagios3 (U) nagvis (U) Anders Waananen <waana...@nbi.dk> nordugrid-arc (U) Andreas Tille <ti...@debian.org> gdcm (U) stacks (U) Andrew McMillan <a...@debian.org> awl (U) davical (U) Antoine Beaupré <anar...@debian.org> drush Antonio Ospite <a...@ao2.it> tweeper Bas Couwenberg <sebas...@debian.org> geos (U) mapserver (U) Bdale Garbee <bd...@gag.com> freedombox-setup (U) Benoit Mortier <benoit.mort...@opensides.be> fusiondirectory (U) php-auth-sasl (U) php-net-ldap2 (U) Bhuvan Krishna <bhu...@swecha.net> php-mf2 Bjoern Boschman <bjo...@boschman.de> phpsysinfo serverstats Cacti Maintainer <pkg-cacti-ma...@lists.alioth.debian.org> cacti Cameron Dale <camrd...@gmail.com> libphp-adodb Christian Bayle <ba...@debian.org> fusionforge (U) libphp-jpgraph Christoph Berg <m...@debian.org> phppgadmin (U) Christoph Haas <h...@debian.org> zabbix (U) Cleto Martín <cl...@debian.org> zeroc-ice (U) Craig Small <csm...@debian.org> jffnms wordpress Cyril Bouthors <c...@debian.org> php-redis (U) php-sepa-direct-debit Cyril Bouthors <cy...@boutho.rs> php-sepa-direct-debit (U) Cyril Bouthors <cy...@bouthors.org> php-sepa-direct-debit (U) Dain Nilsson <d...@yubico.com> yubikey-ksm (U) yubikey-val (U) Daniel Beyer <d...@deb.ymc.ch> symfony (U) twig (U) Daniel Kahn Gillmor <d...@fifthhorseman.net> php-net-publicsuffix Daniel Pocock <dan...@pocock.com.au> yubikey-ksm (U) yubikey-val (U) Daniel Pocock <dan...@pocock.pro> ganglia-web (U) loganalyzer (U) simpleid (U) simpleid-ldap (U) Dario Minnucci <mid...@debian.org> dotclear php-cache php-net-ftp php-net-imap php-net-ipv6 php-net-url2 php-net-whois php-rrd (U) php-validate php-xml-rpc2 rtgui Dave Beckett <daj...@debian.org> redland-bindings Davical Development Team <davical-de...@lists.sourceforge.net> awl davical David Prévot <taf...@debian.org> assetic (U) doctrine (U) google-api-php-client (U) google-auth-library-php (U) libjs-jcrop (U) owncloud (U) pear-channels (U) php-apigen (U) php-apigen-theme-bootstrap (U) php-apigen-theme-default (U) php-codesniffer (U) php-crypt-blowfish (U) php-cssmin (U) php-doctrine-common (U) php-doctrine-dbal (U) php-dropbox (U) php-fshl (U) php-guzzle (U) php-irods (U) php-json-patch (U) php-jwt (U) php-kdyby-events (U) php-kit-pathjoin (U) php-league-flysystem (U) php-markdown (U) php-nette (U) php-opencloud (U) php-patchwork-jsqueeze (U) php-pdfparser (U) php-picofeed (U) php-pimple (U) php-psr-cache (U) php-punic (U) php-randomlib (U) php-sabredav (U) php-securitylib (U) php-smb (U) php-streams (U) php-superclosure (U) php-tokenreflection (U) php-zend-search (U) php-zend-xml (U) php-zipstreamer (U) phpbb3 (U) symfony (U) Debian Authentication Maintainers <pkg-auth-maintain...@lists.alioth.debian.org> simpleid simpleid-ldap yubikey-ksm yubikey-val Debian Edu Packaging Team <debian-edu-pkg-t...@lists.alioth.debian.org> gosa slbackup-php Debian GIS Project <pkg-grass-de...@lists.alioth.debian.org> geos hdf5 mapserver Debian JavaScript Maintainers <pkg-javascript-de...@lists.alioth.debian.org> libjs-jcrop Debian Kolab Maintainers <pkg-kolab-de...@lists.alioth.debian.org> libkolab libkolabxml Debian Med Packaging Team <debian-med-packag...@lists.alioth.debian.org> datatables.js gdcm stacks Debian Monitoring Maintainers <pkg-monitoring-maintain...@lists.alioth.debian.org> ganglia-web loganalyzer Debian Nagios Maintainer Group <pkg-nagios-de...@lists.alioth.debian.org> icinga-web icingaweb2 nagios3 nagvis pnp4nagios Debian PhotoTools Maintainers <pkg-phototools-de...@lists.alioth.debian.org> libpuzzle Debian PHP Maintainers <pkg-php-ma...@lists.alioth.debian.org> php-adodb php-defaults php-doc php-tokyo-tyrant php-yac Debian PHP PEAR Maintainers <pkg-php-p...@lists.alioth.debian.org> assetic debpear doctrine google-api-php-client google-auth-library-php pear-channels php-apigen php-apigen-theme-bootstrap php-apigen-theme-default php-auth php-auth-sasl php-cache-lite php-codesniffer php-compat php-console-commandline php-crypt-blowfish php-crypt-chap php-crypt-gpg php-cssmin php-db php-doctrine-common php-doctrine-dbal php-dompdf php-dropbox php-font-lib php-fshl php-guzzle php-http php-http-request2 php-irods php-json-patch php-jwt php-kdyby-events php-kit-pathjoin php-league-flysystem php-letodms-lucene php-log php-mail php-mail-mbox php-mail-mime php-mail-mimedecode php-markdown php-mdb2 php-net-dime php-net-ipv4 php-net-ldap php-net-ldap2 php-net-nntp php-net-sieve php-net-smartirc php-nette php-opencloud php-pager php-patchwork-jsqueeze php-pdfparser php-picofeed php-pimple php-pinba php-psr-cache php-punic php-randomlib php-sabredav php-securitylib php-smb php-solr php-stomp php-streams php-superclosure php-text-languagedetect php-text-wiki php-tokenreflection php-xml-parser php-xml-svg php-zend-search php-zend-xml php-zipstreamer pkg-php-tools symfony twig Debian PHP PECL Maintainers <pkg-php-p...@lists.alioth.debian.org> libvirt-php php-facedetect php-gearman php-geoip php-gnupg php-igbinary php-imagick php-json php-memcache php-memcached php-msgpack php-mysqlnd-ms php-oauth php-radius php-redis php-rrd php-sasl php-ssh2 php-svn php-zmq uprofiler xcache Debian PostgreSQL Maintainers <pkg-postgresql-pub...@lists.alioth.debian.org> phppgadmin Debian QA Group <packa...@qa.debian.org> ampache semanticscuttle webissues-server Debian Roundcube Maintainers <pkg-roundcube-maintain...@lists.alioth.debian.org> roundcube Debian VoIP Team <pkg-voip-maintain...@lists.alioth.debian.org> yate Debian XML/SGML Group <debian-xml-sgml-p...@lists.alioth.debian.org> refdb Debian XMPP Maintainers <pkg-xmpp-de...@lists.alioth.debian.org> jsjac libphp-jabber Debian/Kubuntu Qt/KDE Maintainers <debian-qt-...@lists.debian.org> kcachegrind Diane Trout <di...@debian.org> libkolab (U) libkolabxml (U) Diane Trout <di...@ghic.org> libkolab (U) Dmitry E. Oboukhov <un...@debian.org> tarantool-php Dmitry Smirnov <only...@debian.org> civicrm zabbix zoneminder Emilien Klein <emilien+deb...@klein.st> shaarli Emmanuel Bouthenot <kol...@debian.org> libpuzzle (U) Eric Décornod <e...@decornod.com> ocsinventory-server (U) Fabio Tranchitella <kob...@debian.org> phpldapadmin Facundo Guerrero <guerre...@gmail.com> php-pecl-http php-propro php-raphf php-solr (U) Faidon Liambotis <parav...@debian.org> yate (U) Fathi Boudra <f...@debian.org> kcachegrind (U) Federico Ceratto <feder...@debian.org> freedombox-setup (U) Federico Gimenez Nieto <fgime...@coit.es> php-xml-serializer (U) Fernando Ike de Oliveira <f...@midstorm.org> phpreports Florian Schlichting <f...@debian.org> awl (U) davical (U) Francesco Paolo Lovergine <fran...@debian.org> geos (U) hdf5 (U) mapserver (U) Francisco Manuel Garcia Claramonte <franci...@debian.org> letodms php-letodms-lucene (U) Francisco Moya <p...@debian.org> zeroc-ice François-Régis Vuillemin <frv-deb...@miradou.com> galette Frederic Peters <fpet...@debian.org> lasso FusionDirectory packages maintainers group <packa...@lists.fusiondirectory.org> fusiondirectory Gaudenz Steinlin <gaud...@debian.org> postfixadmin (U) George Kiagiadakis <kiagiadakis.geo...@gmail.com> kcachegrind (U) Georges Khaznadar <georg...@debian.org> shaarli (U) Gert Wollny <gw.foss...@gmail.com> gdcm (U) Gilles Filippini <p...@debian.org> hdf5 (U) Gilmar dos Reis Queiroz <gilmardosreis...@gmail.com> phpwebcounter Gonéri Le Bouder <gon...@rulezlan.org> glpi (U) Gregory Colpart <r...@debian.org> php-auth (U) Guilhem Moulin <guil...@guilhem.org> roundcube (U) Guillaume Delacour <g...@iroqwa.org> php-imagick (U) php-log (U) Gunnar Wolf <gw...@debian.org> collabtive drupal7 Horde Maintainers <pkg-horde-hack...@lists.alioth.debian.org> php-horde-core php-horde-editor php-horde-lz4 Jan Dittberner <ja...@debian.org> geshi (U) Jan Hauke Rahm <j...@debian.org> php-openid Jan Wagner <w...@cyconet.org> icinga-web (U) nagios3 (U) nagvis (U) Jan-Pascal van Best <janpas...@vanbest.org> php-net-nntp (U) spotweb Janos Guljas <ja...@debian.org> uwsgi (U) Javier Fernandez-Sanguino Pen~a <j...@computer.org> acidbase (U) Jean-Marc Roth <jmr...@iip.lu> php-text-wiki (U) Jean-Michel Nirgal Vourgère <jmv_...@nirgal.com> phppgadmin (U) Jean-Michel Vourgère <nir...@debian.org> libphp-adodb (U) ocsinventory-server (U) Jeremy T. Bouse <jbo...@debian.org> acidbase libphp-swiftmailer (U) Jeroen van Wolffelaar <jer...@wolffelaar.nl> squirrelmail Joey Schulze <j...@infodrom.org> php-crypt-gpg (U) Jonas Genannt <gena...@debian.org> php-stomp (U) Jonas Genannt <jonas.gena...@capi2name.de> php-redis (U) Jonas Smedegaard <d...@jones.dk> uwsgi (U) Jonathan Wiltshire <j...@debian.org> wikidiff2 (U) Joost van Baal-Ilić <joos...@debian.org> moodle (U) Jose Carlos Garcia Sogo <js...@debian.org> yate (U) Kilian Krause <kil...@debian.org> yate (U) Klas Lindfors <k...@yubico.com> yubikey-ksm (U) yubikey-val (U) Laszlo Boszormenyi (GCS) <g...@debian.hu> libkohana3.1-php libkohana3.2-php php-suhosin Laszlo Boszormenyi (GCS) <g...@debian.org> graphviz libmarkdown-php php-mongo php-zmq (U) xhprof Laurent Destailleur (eldy) <e...@users.sourceforge.net> dolibarr Lior Kaplan <kap...@debian.org> php-defaults (U) php-doc (U) php-imagick (U) php-json (U) php-ssh2 (U) Luigi Gangitano <lu...@debian.org> drupal7 (U) Luis Uribe <a...@eviled.org> pgfouine php-pager (U) Mahyuddin Susanto <udi...@ubuntu.com> cacti (U) Marcelo Jorge Vieira (metal) <me...@debian.org> jsjac (U) libphp-jabber (U) magpierss scuttle Marcelo Jorge Vieira <me...@debian.org> libphp-snoopy php-gettext simplepie Marco Nenciarini <mnen...@debian.org> htcheck-php Marcus Osdoba <marcus.osd...@googlemail.com> phpldapadmin (U) Mark Purcell <m...@debian.org> yate (U) Markus Frosch <lazyfro...@debian.org> icinga-web (U) icingaweb2 (U) php-dompdf (U) php-font-lib (U) pnp4nagios (U) Markus Frosch <mar...@lazyfrosch.de> nagvis (U) Martin Meredith <m...@debian.org> php-ssh2 (U) php-svn (U) Martin Ueding <d...@martin-ueding.de> jscribble Mathieu Malaterre <ma...@debian.org> refdb (U) Mathieu Parent <sath...@debian.org> php-crypt-blowfish (U) php-crypt-chap (U) php-facedetect (U) php-horde-core (U) php-horde-editor (U) php-horde-lz4 (U) php-igbinary (U) php-msgpack (U) php-ssh2 (U) php-text-languagedetect (U) php-xml-svg (U) pkg-php-tools (U) Mattias Ellert <mattias.ell...@fysast.uu.se> nordugrid-arc Maximiliano Curia <m...@debian.org> kcachegrind (U) Medhamsh V <medha...@gmail.com> adminer Mediawiki Maintenance Team <pkg-mediawiki-de...@lists.alioth.debian.org> geshi wikidiff2 Michal Čihař <ni...@debian.org> ukolovnik xcache (U) Mikael Magnusson <mi...@users.sourceforge.net> yate (U) Mike Gabriel <sunwea...@debian.org> fusiondirectory (U) gosa (U) slbackup-php (U) smarty-gettext smarty3 Mirko Grava <o...@klez.it> phamm (U) MLMMJ packaging team <pkg-mlmmj-de...@lists.alioth.debian.org> mlmmj Modestas Vainius <mo...@debian.org> kcachegrind (U) Mohammed Adnène Trojette <adn+...@diwi.org> dokuwiki (U) Moodle Packaging Team <pkg-moodle-maintain...@lists.alioth.debian.org> moodle Nick Daly <nick.m.d...@gmail.com> freedombox-setup (U) Nicolas Roudaire <nikro...@gmail.com> dotclear (U) libphp-swiftmailer Nikolai Lusan <niko...@lusan.id.au> postfix-cluebringer Norman Messtorff <nor...@normes.org> postfixadmin Olivier Berger <ober...@debian.org> fusionforge (U) libgraphite-php php-arc php-cas Olivier Berger <olivier.ber...@it-sudparis.eu> php-cas (U) Olivier Berger <olivier.ber...@telecom-sudparis.eu> libgraphite-php (U) php-cas (U) Ondřej Surý <ond...@debian.org> libvirt-php (U) php-defaults (U) php-gearman (U) php-geoip (U) php-imagick (U) php-json (U) php-memcache (U) php-memcached (U) php-mysqlnd-ms (U) php-oauth (U) php-radius (U) php-redis (U) php-rrd (U) php-yac (U) uprofiler (U) Ondřej Surý <ond...@sury.org> php-svn (U) ownCloud for Debian maintainers <pkg-owncloud-maintain...@lists.alioth.debian.org> assetic (U) google-api-php-client (U) google-auth-library-php (U) owncloud php-crypt-blowfish (U) php-cssmin (U) php-doctrine-common (U) php-doctrine-dbal (U) php-dropbox (U) php-guzzle (U) php-jwt (U) php-kit-pathjoin (U) php-opencloud (U) php-patchwork-jsqueeze (U) php-picofeed (U) php-pimple (U) php-punic (U) php-randomlib (U) php-sabredav php-securitylib (U) php-smb (U) php-streams (U) php-superclosure (U) php-zipstreamer (U) Patrick Ringl <patri...@freenet.de> php-net-smartirc (U) Paul Gevers <elb...@debian.org> cacti (U) Paul Klos <ko...@klos2day.nl> libkolab (U) libkolabxml (U) Paul van Tilburg <pau...@debian.org> owncloud (U) php-net-smartirc (U) Peter Eisentraut <pet...@debian.org> phppgadmin (U) Petter Reinholdtsen <p...@debian.org> freedombox-setup Phamm Team <t...@phamm.org> phamm phpBB packaging team <phpb...@lists.a-eskwadraat.nl> phpbb3 Pierre Chifflier <pol...@debian.org> glpi ocsinventory-server pgsnap Pierre Neyron <pierre.ney...@free.fr> oar Piotr Pokora <piotrek.pok...@gmail.com> php5-midgard2 PKG-PHP-PEAR team <pkg-php-p...@lists.alioth.debian.org> php-auth-http php-crypt-cbc php-mime-type php-services-json php-xml-serializer Prach Pongpanich <pr...@debian.org> debpear (U) php-auth-sasl (U) php-console-commandline (U) php-crypt-gpg (U) php-mail (U) php-mail-mime (U) php-net-ldap2 (U) Prach Pongpanich <prach...@gmail.com> php-auth (U) php-cache-lite (U) php-gnupg (U) php-http (U) php-mail-mimedecode (U) php-mdb2 (U) php-net-dime (U) php-net-ipv4 (U) php-net-ldap (U) php-net-sieve (U) php-oauth (U) php-pinba (U) php-sasl (U) php-text-wiki (U) php-zmq (U) Raphael Geissert <geiss...@debian.org> php-adodb (U) php-tokyo-tyrant (U) Raphaël Hertzog <hert...@debian.org> dolibarr (U) galette (U) Richard Sellam <richard.sel...@orvidia.fr> phabricator Roberto Lumbreras <ro...@debian.org> php-radius (U) Roland Mas <lola...@debian.org> fusionforge Romain Beauxis <to...@rastageeks.org> geshi (U) wikidiff2 (U) Russ Allbery <r...@debian.org> remctl Sandro Knauß <b...@sandroknauss.de> libkolab (U) libkolabxml (U) roundcube (U) Santiago Garcia Mantinan <ma...@debian.org> yate (U) Sascha Girrulat <sas...@girrulat.de> php-http-request2 (U) Sascha Steinbiss <sas...@steinbiss.name> datatables.js (U) sean finney <sean...@debian.org> nagios3 (U) Sebastian Dröge <sl...@debian.org> libvpx Sebastian Harl <tok...@debian.org> libfpdf-tpl-php (U) libfpdi-php (U) libkohana2-php (U) Sergey B Kirpichev <skirpic...@gmail.com> php-geoip (U) php-memcache (U) php-memcached (U) Simon Josefsson <si...@josefsson.org> yubikey-ksm (U) yubikey-val (U) Stefan Bauer (Cubewerk GmbH) <stefan.ba...@cubewerk.de> sbnc Steve Langasek <vor...@debian.org> php-imlib Steve M. Robbins <s...@debian.org> gdcm (U) Stuart R. Anderson <ander...@netsweng.com> ming Stuart Teasdale <s...@debian.org> ganglia-web (U) Sune Vuorela <s...@debian.org> kcachegrind (U) Sunil Mohan Adapa <su...@medhas.org> freedombox-setup (U) Sven Eckelmann <s...@narfation.org> exactimage Sven Velt <s...@velt.de> libfpdf-tpl-php libfpdi-php libkohana2-php Sylvain Beucler <b...@debian.org> fusionforge (U) Sylvestre Ledru <sylves...@debian.org> phabricator (U) Sébastien Jodogne <s.jodo...@gmail.com> gdcm (U) Tanguy Ortolo <tanguy+deb...@ortolo.eu> dokuwiki pluxml Tanguy Ortolo <tan...@ortolo.eu> dokuwiki (U) Thadeu Lima de Souza Cascardo <casca...@minaslivre.org> jsjac (U) libphp-jabber (U) Thierry Randrianiriana <thie...@debian.org> php-net-ipv4 (U) Thijs Kinkhorst <th...@debian.org> php-defaults (U) simplesamlphp squirrelmail (U) Thomas Goirand <z...@debian.org> debpear (U) extplorer mlmmj (U) php-auth-http (U) php-compat (U) php-crypt-cbc (U) php-db (U) php-mail (U) php-mail-mbox (U) php-mail-mime (U) php-mdb2 (U) php-mime-type (U) php-services-json (U) php-xml-parser (U) php-xml-serializer (U) pkg-php-tools (U) Thomas Mueller <thomas.muel...@tmit.eu> owncloud (U) Tim Booth <tbo...@ceh.ac.uk> stacks (U) Tomasz Muras <nexor1...@gmail.com> moodle (U) Toni Mueller <t...@debian.org> postfix-cluebringer (U) Torsten Landschoff <tors...@debian.org> swig swig2.0 Tzafrir Cohen <tzaf...@debian.org> yate (U) Ulises Vitulli <der...@debian.org> auth2db php-pecl-http (U) Uwe Steinmann <ste...@debian.org> dh-make-php php-ps uWSGI packaging team <pkg-uwsgi-de...@lists.alioth.debian.org> uwsgi Vincent Bernat <ber...@debian.org> php-mail-mimedecode (U) php-mdb2 (U) php-pinba (U) roundcube (U) Vincent Danjean <vdanj...@debian.org> oar (U) owfs Wolfram Quester <wo...@sigxcpu.org> d-push Yves Guimard <yves.guim...@gmail.com> ocsinventory-server (U) Cheers, -- Ondřej Surý <ond...@sury.org> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server