Page 1 of 1

PHP 7.1 installation problem

Posted: Fri Dec 30, 2016 3:10 am
by light
I upgrade PHP from version 7.0.9 to 7.1 in Window Server 2016. I have got the follow error.

https://s27.postimg.org/b8knorcir/error2.png

Re: PHP 7.1 installation problem

Posted: Mon Aug 13, 2018 1:50 am
by olidev
Are you sure you have upgraded correctly? Ondřej Surý has created this PPA which has the latest versions of PHP in it. Add it to your system, and update to get a list of all the software we can install.

Code: Select all

$ sudo add-apt-repository ppa:ondrej/php
$ sudo apt-get update
install PHP 7.1

Code: Select all

$ service apache2 stop
$ sudo apt-get install php7.1 php7.1-common
Remove PHP 7.0

$ sudo apt-get purge php7.0 php7.0-common

Tell Apache to use PHP7.1 now PHP 7.0 is not being used.

Code: Select all

$ a2enmod php7.1
$ service apache2 restart
In case if you are using managed PHP web hosting platform to upgrade your server. You can find the upgrade option in their panel. Most of the platforms, like cPanel and Plesk makes upgrading easy by providing one click option.

Re: PHP 7.1 installation problem

Posted: Mon Aug 13, 2018 3:24 pm
by benanamen
Post the error instead of a broken image link. In any case, there are issues with Php 7.1x. You should run at least 7.2