While updating some PHP applications to version 8.4 lately I ran into an issue with Composer on Alpine Linux using a different PHP version than what /usr/bin/env php resolved to. If your composer.json has a platform requirement for a specific PHP version this will then result in errors like this, despite having the required PHP version installed: - Root composer.json requires php >=8.4 but your php version (8.3.24) does not satisfy that requirement. The issue is that the composer package in t...