How to enable apache modules? question is very common among system administrators. You can easily enable necessary apache / apache2 modules by using the linux command “a2enmod”.
The Apache HTTP Server is the world’s most widely used web server software. Apache is developed and maintained by an Open community of Apache Software Foundation. Apache is free and open source software and it is available for a wide variety of operating systems, including Unix, Linux, Microsoft windows, OS X, OS/2, Solaris, TPF, OpenVMS, NetWare, FreeBSD and eComStation.
Developer need some additional modules to be installed / enabled based on project requirements. Apache provides easiest way to enable and disable apache modules by using simple commands.
Note: These commands only accessible for sudo privilege users
How to enable apache modules? (a2enmod):
sudo a2enmod [module name]
a2enmod is an inbuilt script that enabling the given module in apache configuration file by creating symlinks.
a2enmod: enable/disable an apache module in APACHE_MODULES in /etc/sysconfig/apache2
usage: a2enmod [-d] module
a2enmod -l list modules
a2enmod -q module query if module is installed
HTTPD_INSTANCE=<instance_name> environment variable can be used to specify apache instance
After enabling apache modules you should reload your apache to initialize given changes in the server.
Linux widely uses operating system in the server side and client side. Linux operating system provides flexible options to install our custom packages and extensions based on our project requirement. Apache is developed and maintained by an Open community of Apache Software Foundation. Apache is free and open source software and it…
Creating virtual host configurations on your Apache server does not magically cause DNS entries to be created for those host names. You must have the names in DNS, resolving to your IP address, or nobody else will be able to see your web site. Virtual hosts allow you to run multiple…
Apache server is an open-source and cross-platform HTTP server, primarily used to serve both static content and dynamic Web pages on the World Wide Web. Starting, stopping, and restarting/reloading are the most common tasks while working with an Apache web server by developer or system administrator. In this article,…
WampServer is a Windows web development environment. It allows you to create web applications with Apache 2, PHP and a MySQL database. Alongside, PhpMyAdmin allows you to manage easily your databases. WampServer's Apache Service not starting or can't activate on Microsoft windows? After installation of WampServer in Microsoft windows operating system, sometimes Apache…
Use 'instmodsh' command to get a complete list of installed Perl modules on your Linux system and it provides an interactive shell type interface to query details of locally installed Perl modules. Open your terminal and type the following command: instmodsh Now, you will get the list of available commands…