I run in the same error and the Solution was, that the debug listener was on. After stop the listener all PHP version checkings worked directly