AAAAAA succes:
Code
- sudo update-alternatives --config php
- There are 2 choices for the alternative php (providing /usr/bin/php).
- Selection Path Priority Status
- ------------------------------------------------------------
- 0 /usr/bin/php7.0 70 auto mode
- * 1 /usr/bin/php5.6 56 manual mode
- 2 /usr/bin/php7.0 70 manual mode
- Press <enter> to keep the current choice[*], or type selection number: 0
- update-alternatives: using /usr/bin/php7.0 to provide /usr/bin/php (php) in auto mode
- 0
- service apache2 restart
- php -v
- PHP 7.0.33-47+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Feb 23 2021 15:03:10) ( NTS )
- Copyright (c) 1997-2017 The PHP Group
- Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
- with Zend OPcache v7.0.33-47+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies
- root@vmi271578:/# service apache2 restart
- root@vmi271578:/# composer -V
- Do not run Composer as root/super user! See https://getcomposer.org/root for details
- Continue as root/super user [yes]? yes
- Composer version 2.1.3 2021-06-09 16:31:20
- Not installing imscp... :(