Combining services or Process groups for Apache Web Server*

Services can be “merged” by creating your own service detection rules, see Configure service detection rules in Service Detection v1 — Dynatrace Docs
Keep in mind that only services within the same process group can be “merged”. If those Apache processes are not part of a single process group, you need to follow the steps by @t_pawlak .