PHP Velho Oeste 2024

Migrating from PHP 7.0.x to PHP 7.1.x

Table of Contents

This new minor version brings with it a number of new features and a few incompatibilities that should be tested for before switching PHP versions in production environments.

See also the migration guides for PHP versions 7.0.x.

add a note add a note

User Contributed Notes 3 notes

up
-21
shl at g8net dot com
7 years ago
For fresh installation on Ubuntu 16.04
If we want to install new version && Remove all php dependencies
sudo apt-get remove php*

sudo apt-get install php7.1 php7.1-cli php7.1-common libapache2-mod-php7.1 php7.1-mysql php7.1-fpm php7.1-curl php7.1-gd php7.1-bz2 php7.1-mcrypt php7.1-json php7.1-tidy php7.1-mbstring php-redis php-memcached
up
-32
ohcc@163com
7 years ago
php 7.1+ supports utf-8 paths and I/O streams on Windows. file system functions now return utf-8 results, you don't need to convert file paths between character sets.
up
-35
sales at k-ict dot org
6 years ago
A safe option for migration is by installing PHP 7.1 in a Docker and test the scripts.
To Top