On January 7th 2016, the PHP group published PHP 7.0.2.
31 reported bugs has been fixed, including 6 security related issues. All PHP 7.0 users are encouraged to upgrade to this version.
Packages of PHP 7.0.2 are now available for Debian 8 “Jessie” on amd64 and i386 architectures.
Please note that :
- You should remove any PHP5 packages before upgrading
- Packages of the PECL extensions (Memcache, Memcached, Mongo, Redis, Xdebug…) are still missing.
- The thread-safe version of all these packages will be published soon.
Please 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 because they shouldn’t conflict with any PHP5 installation. So to get PHP 7.0.2 , just follow the regular instructions for Jessie.
And as usual, feel free to show your support, it is always greatly appreciated… :)
Memcache (unpackaged; perhaps useful)
apt-get install php7.0-dev etc. git clone https://github.com/php-memcached-dev/php-memcached.git git checkout php7 phpize make make install etc. add to/create appropriate php .ini file.
You can use this sollutions
PHP7+Memcached https://serversforhackers.com/video/installing-php-7-with-memcached
PHP7+Redis (Git branch “php7”) https://github.com/nicolasff/phpredis
PHP7+Imagick https://github.com/mkoppanen/imagick.git
Hi, I see this when trying to apt-get upgrade :
Setting up php7.0-cli (7.0.2-1~dotdeb+8.1) … ucfr: Attempt from package php7.0-cli to take /etc/php/7.0/apache2/php.ini away from package libapache2-mod-php7.0 ucfr: Aborting.
Hi,
Any Ideas?
Setting up libapache2-mod-php7.0 (7.0.2-1
dotdeb+8.1) … dpkg: error processing package libapache2-mod-php7.0 (–configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of php7.0: php7.0 depends on libapache2-mod-php7.0 (>= 7.0.2-1dotdeb+8.1~) | php7.0-cgi (>= 7.0.2-1dotdeb+8.1) | php7.0-fpm (>= 7.0.2-1dotdeb+8.1); however: Package libapache2-mod-php7.0 is not configured yet. Package php7.0-cgi is not installed. Package php7.0-fpm is not installed.dpkg: error processing package php7.0 (–configure): dependency problems - leaving unconfigured Errors were encountered while processing: libapache2-mod-php7.0 php7.0 E: Sub-process /usr/bin/dpkg returned an error code (1)
Memcached such as Redis are still missing. On January 11th you said that you would try to add both this month. Is this information out of date or can we still expect both to be released this month?
Thanks! :)
@Andreas : thanks for the reminder… php7.0-redis is now available, relying on the latest commit of the php7 branch. Please note that it’s not the latest stable version.
I’ll work on memcached this week-end.
News on php7-redis?
Thanks!
Even if this was packaged with php7 redis, redis for php7 seems broken in some aspects. It is not stable. See e.g. https://github.com/phpredis/phpredis/issues/744
Pipelining does not work flawlessly.
Hi Guillaume,
Is there any way to use libmysqlclient with PHP 7?
Previously php5-mysql would provide libmysqlclient php5-mysqlnd would provide mysqlnd
However it seems php7.0-mysql provides mysqlnd and I can’t see a package that provides libmysqlclient.
Regards, Mike
“You should remove any PHP5 packages before upgrading”
Package php-pear depends on php5-common, php5-cli, any chance of getting a PHP 7 version?