Hello FAB,
I really don't know what I'm doing here (systemwise) LOL, but I hd the same problem like you the last 24 h.
Starting composer install from the shell brought me this error with the wrong php-version as well, but I didn't want to change the path settings.
A few minutes ago I found out...