Answer the question
In order to leave comments, you need to log in
Ubuntu 14.04 server update PHP version?
Hello.
An incomprehensible error appeared
Updated the PHP version from 5.6 to 7.0
There is a bunch of nginx + apache2
in the console I type php -v
PHP 7.0.20-2~ubuntu14.04.1+deb.sury.org+1 (cli) (built: Jun 14 2017 05:55:23) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3. 0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.20-2~ubuntu14.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies
sudo a2dismod php5.6
sudo a2enmod php7.0
sudo service apache2 restart
sudo update-alternatives --set php /usr/bin/php7.0
Answer the question
In order to leave comments, you need to log in
As far as I remember, you need to add the desired repository. And it is better to put the latest version of the server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question