With httpd, you can check the version with the -v option.
httpd -v
Example of output:
Server version: Apache/2.4.46 (Win64) Apache Lounge VS16 Server built: Mar 27 2021 11:42:37