Categories
PHP

PHP 7.0-RC2 is available for Debian 8 “Jessie”

On September 4th 2015, the PHP group published the second release candidate of the upcoming new major branch, PHP 7 :

PHP 7.0.0 RC 2 contains fixes for 28 reported bugs, 7 of which are security related, and altogether over 250 commits with various improvements.

PHP 7.0.0 comes with new version of the Zend Engine with features such as (incomplete list):

  • Improved performance: PHP 7 is up to twice as fast as PHP 5.6
  • Consistent 64-bit support
  • Many fatal errors are now Exceptions
  • Removal of old and unsupported SAPIs and extensions
  • The null coalescing operator (??)
  • Combined comparison Operator (< =>)
  • Return Type Declarations
  • Scalar Type Declarations
  • Anonymous Classes

For more information on the new features and other changes, you can read the NEWS file, or the UPGRADING file for a complete list of upgrading notes.


I am now proud to announce that packages of PHP 7.0-RC2 are now available for Debian 8 “Jessie” on amd64 and i386 architectures!

Disclaimer : THIS IS A DEVELOPMENT PREVIEW (from a PHP upstream and from a Dotdeb/Debian packaging perspectives) – DO NOT USE IT IN PRODUCTION!

On the Dotdeb side, I wanted to make things right and compatible with what will happen for Stretch. So the packaging method has been synchronized to Sid’s one in terms of naming and versioning (once again, thanks to the Debian maintainers for their awesome work!). That means that :

  • The SAPI packages (Apache2, FPM, CLI, CGI, Embed…) are built as usual from the upstream source, and are named php7.0-* instead of just php7-*.
  • This new naming convention and packaging method will help to produce future php7.x-* packages more easily. And you could even install several PHP versions on the same server without any conflict!
  • Main PHP modules (GD, MySQL, mbstring…) are now built from a php7.0-modules-source package and named php-*. Please make sure that you pick the right ones.
  • All these packages are built using git-buildpackage and Jenkins.
  • Packages of the PECL extensions are missing and still require some work (the scripts are not ready yet).
  • The thread-safe version of all these packages will be published once everything has been declared as stable and production-ready

Once again, these first packages should be seen as a preview :

  • Don’t upgrade any staging/production/critical environments yet, and use these RC packages at your own risk!
  • Make sure that you understand the above PHP/Debian/Dotdeb changes and that you don’t need any of the missing features/packages
  • Your feedbacks are always welcome. Just make sure they are useful.

These packages have been published on the main repository for Jessie because they have new names and they shouldn’t conflict with any PHP5 installation. So to test PHP 7.0-RC2 , just follow the instructions.

And as usual, feel free to show your support

18 replies on “PHP 7.0-RC2 is available for Debian 8 “Jessie””

dpkg: error processing archive /var/cache/apt/archives/php7.0-cli_7.0.0~rc2-1~dotdeb+8.1_amd64.deb (–unpack):
trying to overwrite ‘/usr/share/man/man1/phar.1.gz’, which is also in package php5-cli 5.6.12+dfsg-0+deb8u1

I would like to know at well if there is an way to install them in parallel. Especially php-fpm would support that anyway.

Too bad. Jessie has problems. I would assume there will be number of workloads on Wheezy for next 5 years.

@Alexander : I’m so sorry for this, but because of faster release cycles, PHP has been more difficult to maintain. 3+ branches (5.4, 5.5, 5.6, 5.6-ZTS, 7.0 + future ones) x 3 distributions (Squeeze-LTS, Wheezy, Jessie) x 2 archs (amd64, i386) is a lot of work. Even if I did automate most of the building process, I’m lacking time to publish everything as what users expect.

After more than 12 years, Dotdeb is still the personal project of one guy (with a job and a personal life). I’m spending a lot of my time and my own money on it to make users happy but keeping publishing production-ready packages involves some trade-offs.

Thanks for your understanding.

Comments are closed.