Categories
PHP

PHP 7.0.5 for Jessie

On March 31st 2016, the PHP group published PHP 7.0.5.

This is a security release. Several security bugs were fixed in this release. All PHP 7.0 users are encouraged to upgrade to this version.

Packages of PHP 7.0.5 are now available for Debian 8 “Jessie” on amd64 and i386 architectures.

Please note that :

  • PHP 7 and PHP 5 from Jessie are now co-installable on the same machine
  • Packages of the following PECL extensions are now available : APCu, APCu_bc, geoip, igbinary, imagick, memcached, mongodb, msgpack, redis and xdebug. Careful, PHP 7 support from some of them is still very young.
  • The thread-safe version of all these packages will be published soon.

As usual :

16 replies on “PHP 7.0.5 for Jessie”

I’m using the dotdeb PHP7 source package to build packages for ARM (Raspberry Pi). The problem I’ve come across is that I can’t seem to build individual packages. It always picks the php7.0 meta package and builds every SAPI and module, which takes very long on the Raspberry Pi, even with 4 threads.

Is there a way to build only the SAPIs and module I need?

Hi there!

Thanks (again) for providing this great repo! But there seems to be a little problem:

I just installed the “php7.0-geoip” package and it does not set a “/etc/php/mods-available/geoip.ini” with the line “extension=geoip.so” and also the simlinks “/etc/php/7.0/{apache2,cli}/conf.d/20-geoip.ini” -> “/etc/php/mods-available/geoip.ini” are missing.

Did you leave out these config settings on purpose?

Cheers,
Ansas

apt-get install php-memcached
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package php-memcached
————————-
How to install php memcached extension ? is not working ?
———-
php -v
PHP 7.0.5-1~dotdeb+8.1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

It might be worth disabling pcre.jit by default, as I ran into an annoying issue on Debian 8 + php 7.0.5 + Zend HTTP, where it was failing to validate URIs and throwing internal errors.

After some digging, I found disabling JIT sorted it – This may be relevant – https://bugs.php.net/bug.php?id=70304

I can only assume Debian 8 is lacking the fixed PCRE

Comments are closed.