Development Installation Guide System Administration

PHP 7.1.3 released with lots of bug fixes – Install PHP 7 on Linux

PHP 7.1.3 recently released, is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible as well as pragmatic, PHP powers everything from your blog to the most popular websites in the world.

 php 7

PHP 7.1.3 Bug Fixes

  • Core:
    • Segfault with nested generators
    • PHP hangs when an invalid value is dynamically passed to typehinted by-ref arg
    • Maximum execution time of n+2 seconds exceed not written in error_log
    • PHP 7.1 Segfaults within Symfony test suite
    • Out of bound read – zend_mm_alloc_small
    • Performance problem with processing large post request
    • array_key_exists fails on arrays created by get_object_vars
    • NAN check fails on Alpine Linux with musl
    • Generating phar.phar core dump with gcc ASAN enabled build
  • Apache:
    • Incomplete POST does not timeout but is passed to PHP
  • Date:
    • “new DateTime()” sometimes returns 1 second ago value
  • FPM:
    • php-fpm process accounting is broken with keepalive
  • Hash:
    • gost-crypto hash incorrect if input data contains long 0xFF sequence
  • GD:
    • ReflectionFunction for imagepng is missing last two parameters
  • Mysqlnd:
    • fetch_array broken data. Data more then MEDIUMBLOB
  • Opcache:
    • Segfault with list
  • OpenSSL:
    • PHP Fast CGI crashes when reading from a pfx file
    • Memory leak with openssl_encrypt()
  • Standard:
    • mail.add_x_header causes RFC-breaking lone line feed
    • substr_count with length=0 broken
    • is_callable callable name reports misleading value for anonymous classes
    • PHP on Linux should use /dev/urandom when getrandom is not available
  • Streams:
    • Invalid memory access in zend_inline_hash_func
    • stream_get_contents maxlength>-1 returns empty string

How to install PHP 7.1.3 on Ubuntu Yakkety, Ubuntu Xenial, Ubuntu Trusty, Ubuntu Precise

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update && sudo apt-get install php7.1

How to install PHP 7.1.3 on Ubuntu Yakkety, Ubuntu Xenial, Ubuntu Trusty, Ubuntu Precise

sudo apt-get remove php7.1

About the author


A passionate Linux user for personal and professional reasons, always exploring what is new in the world of Linux and sharing with my readers.

Leave a Comment