This package has QA issues. Attached relevant logs and emerge --info
Created attachment 715788 [details] emerge_info emerge --info
Created attachment 715791 [details] apache-2.4.48:20210526-154154.logx build log
* QA Notice: This ebuild installs into paths that should be created at runtime. * To fix, simply do not install into these directories. Instead, your package * should create dirs on the fly at runtime as needed via init scripts/etc... * * var/cache * var/cache/apache2 * var/cache/apache2/.keep_www-servers_apache-2 * QA Notice: systemd units using /etc/conf.d detected: * /lib/systemd/system/apache2.service:EnvironmentFile=/etc/conf.d/apache2 * See: https://wiki.gentoo.org/wiki/Project:Systemd/conf.d_files
2.4.51 fixes "QA Notice: systemd units using /etc/conf.d detected" for me
*** This bug has been marked as a duplicate of bug 520482 ***