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

28/12/2020
php

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.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
ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

How to Parse JSON in PHP

The full form of JSON is JavaScript Object Notation. It is a text-based format of data like XML which is very easy to write...
28/12/2020

PHP and MySQL/MariaDB tutorial on Ubuntu

PHP and MySQL are the two most important tools to learn today for web programming. PHP is a server side programming language...
28/12/2020

PHP Explode Tutorial

PHP is one of the powerful website development tools that contains various built-in functions for various purposes. explode()...
28/12/2020