Administration Apache CentOS Linux Tips and Tricks Troubleshooting

How to List Which Apache 2 Modules are Enabled on CentOS 6.x

View Loaded Apache Modules

Just one command:

apachectl -M

Or, if you want to view the list in alphabetical order:

apachectl -M | sort

Or, if you want to view the list in reverse alphabetical order:

apachectl -M | sort -r

Related Articles

  • How to List Compiled PHP Modules from the Command Line

    The general command is php -m; this command will give you the full list of extensions: php -m This command will give you an output like: bz2 calendar Core ctype...
  • Extract Tar Files to a Different Directory

    Syntax Typical Unix tar syntax: tar -xf -C /path/to/directory GNU/tar syntax: tar xf file.tar -C /path/to/directory tar xf file.tar --directory /path/to/directory Example: Extract files to another directory In this...
  • Some useful ‘find’ commands

    The ‘find’ command is quite useful as it helps to identify files with specific permissions, users,groups, size, etc.  Also, it is quite helpful to as it allows to process its results...
  • Verifying the .crt and .key

    Verifying the .crt and .key Everybody had that panic moment when apache refusing to start saying ‘private key doesn’t match while installing SSL certificate. Here is how to check whether...