How to show Apache module?

I installed LAMP and anything is working. How I like to get a list with Apache modules.
The Debian/Ubuntu command “apache2ctl” I used before will not work in Manjaro.

After I research, I found that the setting file should be in
/etc/httpd/conf/httpd.conf

but in my installation is called “/etc/apache2/apache2.conf”

What is correct? An and how can I get the Apache module list?

The configuration for Apache Http Server is in /etc/httpd/ for Manjaro and other Arch based Distributions. There is no /etc/apache2/ . If you have a /etc/apache2/ folder check if it is owned by a package.

Of course, if you want you can configure httpd to use /etc/apache2/, but this is something you will need to do on your own.

You can use httpd -M or apachectl -t -D DUMP_MODULES to check which modules are loaded.

Also see the Arch wiki on Apache http server for more information
https://wiki.archlinux.org/title/Apache_HTTP_Server

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.