Thank you for your help. I found out
apache2 -M
works great without sudo. I would have never expected that.
On Mon, Jul 26, 2021 at 2:09 PM Marc Serra <mserra@xxxxxxxxx> wrote:
Try to source your envvars by running it like this
source /etc/apache2/envvars
and then
/usr/sbin/apache2 -M
or apachectl -M