changing php version in composer in server code example
Example 1: check composer php version
composer -vvv about
Example 2: composer takes older version of php
composer install --ignore-platform-reqs
composer -vvv about
composer install --ignore-platform-reqs