I have the server running fine even after upgrade from 14.04. However, now that I need to perform a ISPConfig upgrade I found out that the PHP CLI is an older version. I've removed any other instances of PHP. phpinfo() running on Apache reports php7.0 and phpMyAdmin too. The problem is that some apps require mysqli support for PHP CLI but when I run php-v it shows up with :
php -v
PHP 5.5.7 (cli) (built: Feb 27 2017 14:34:47)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
ISPConfig reports that mysqli is not loaded.