显示是最新版本,但查看还是老版本。
root@theServer:~# apt-get install php7.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
php7.1 is already the newest version (7.1.2-4+
deb.sury.org~xenial+1).
0 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
root@theServer:~# php -v
PHP 7.1.0-5+
deb.sury.org~xenial+1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.1.0-5+
deb.sury.org~xenial+1, Copyright (c) 1999-2016, by Zend Technologies