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 Trim Strings in PHP

The function of trimming strings is to remove the unwanted characters from string data.  String data requires trimming...
28/12/2020

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....
28/12/2020

How to read and print pretty JSON with PHP

JSON is a popular data storage format to exchange data between server and browser. It is derived from JavaScript and supported...
29/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Dịch Vụ Xây Dựng Hệ Thống Peering Với Internet Exchange (IXP)
04/04/2025

Dịch Vụ Triển Khai VPN Site-to-Site & Remote Access
04/04/2025

Dịch Vụ Thiết Lập Hệ Thống Tường Lửa (Firewall)
04/04/2025

Dịch Vụ Triển Khai Hệ Thống Ảo Hóa & Cloud
04/04/2025

Dịch Vụ Triển Khai Hệ Thống Ceph
04/04/2025