I have installed a new version (7.1) of PHP on my server running RHEL 6. I can verify the installation and also via the web-server I see version 7.1 to be used. On the command line, however, I get
php -v
PHP 5.6.8 (cli) (built: Apr 17 2015 15:13:59)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
rpm -qa only shows version 7.1:
rpm -qa | grep php
php71w-cli-7.1.32-1.w6.x86_64
php71w-mbstring-7.1.32-1.w6.x86_64
php71w-pdo-7.1.32-1.w6.x86_64
mod_php71w-7.1.32-1.w6.x86_64
php71w-common-7.1.32-1.w6.x86_64
php71w-mysql-7.1.32-1.w6.x86_64
Any ideas where this reference to 5.6.8 comes from and whether this is a potential problem?