Managing Modules in Apache2

a2enmod is a program that enables the specified apache2 module within the apache2 configuration.

At terminal,

$ a2enmod
$ type the module name to be enabled

For example, enable php5 module:








a2dismod is a program that disables the specified apache2 module within the apache2 configuration.

At terminal,

$ a2dismod
$ type the module name to be disabled

Restart your apache server after making changes in the modules .
Done !!!

0 comments: