adding $_SERVER to error-logging in case of raceconditions with segment-puts