On February 4th 2016, the PHP group published PHP 7.0.3.
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.3 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, igbinary, imagick, memcached, mongodb, msgpack, redis and xdebug. Careful, PHP 7 support from some of them is still very young.
- the
memcached.serializeris nowigbinaryby default. You should change it back tophpif you’re upgrading from a previous version. - The thread-safe version of all these packages will be published soon.
As usual :
- your feedbacks are always welcome. Just make sure they are useful.
- feel free to show your support, it is always greatly appreciated… :)
php7.0-mongodbresults in Segmentation fault: zend_mm_heap corrupted I disabled it usingphpdismod -v ALL -s fpm mongodbThank you!
I found two bugs in the new extensions:
require_once ‘phar://yandex-php-library_master.phar/vendor/autoload.php’;
This flow displays this error:
PHP Warning: require_once(phar://yandex-php-library_master.phar/vendor/autoload.php): failed to open stream: phar error: invalid url or non-existent phar “phar://yandex-php-library_master.phar/vendor/autoload.php” in /home/admin/sitebackup.php on line 10
How to fix it?
@Yuriy : I could package it if the changes are applied upstream by the official maintainers (https://pecl.php.net/package/memcache). Feel free to open or complete a feature request there.
Thanks.
PHP 7.0.3 is working great on Debian Jessie with Apache 2.4 and php-fpm. Thanks for the great job of packaging it for us.
However I have a problem with the APCu module (php7.0-apcu) that does not work anymore with OwnCloud. I also installed the APC module (php7.0-apc) but OwnCloud is not seeing the APCu cache.
Yan.
@Guillaume,
Thank you for this update. Like @Yannick I got the same problem with apcu and memcached but on wordpress. The modules are enabled :
beta:
# php -m |grep apc apcu beta:# php -m |grep memcache memcachedBut my wordpress doesn’t see them. See the screenshot : http://imgur.com/BydYKWD
Did you know what can be the problem?
Thank you
@Yuriy,
Thank you! Really works great! :)
@Rafael : you can use these commands to update the php-cli symlink according to your needs :
Hi Guillaume,
Would it be possible for you to include the ssh2 module for PHP7 in your next release? It’s the last missing module that we need and our provider depends on your wonderful work.
Thanks!
Hi,
I need to use pdo-oci option. How can i add function when i install php7 with dotdeb repository ?
I try to compile php7 from source, but too much errors
Thanks.
Hello, I have a lot of those errors on my server with your version of PHP 7.0.3
WARNING: [pool www] child 9231 exited on signal 11 (SIGSEGV) after 237.213480 seconds from start
Can it be linked to Dotdeb, or is it only related to PHP itself?
Thank You for your great work!
Nevertheless i have an issue with mongodb …. it is installed via apt-get install php7.0-mongodb. It is also loaded as phpinfo() is showing. But scripts using mongo die with: “PHP Fatal error: Uncaught Error: Class ‘MongoClient’ not found "
Neither MongoDB() or Mongo() are found. Shouldn’t this code work? :
$client = new MongoDB(“mongodb://localhost:27017”); $collection = $client->demo->beers;
$result = $collection->insertOne( [ ’name’ => ‘Hinterland’,$
echo “Inserted with Object ID ‘{$result->getInsertedId()}’”;
@Yuri : that’s not really a problem and this could be definitely fixed in a future release. In the meantime, try to use apt-get install –no-install-recommends php7.0-dev.
And FYI, phpredis is available as php7.0-redis.
Have you an idea of date for
php7.0-apcu php7.0-geoip php7.0-mysqlnd php7.0-redis php7.0-xdebug
?