Jufer
Jufer

Reputation: 33

Apache Command Line Not Functioning

Installed Apache Ver 2.2.3 on my vps with Centos 5.6 but when I try the a2dismod and a2enmod got Command not found error.

What can I do to fix it?

Thank you

Upvotes: 3

Views: 27836

Answers (2)

fbahr
fbahr

Reputation: 883

On CentOS there are no a2enmod and a2dismod commands. To disable unneeded modules in Apache, you need to carry out steps as described at the lower end of – for instance – this post: http://www.cyberciti.biz/faq/howto-disable-apache-modules-under-linux-unix/

Upvotes: 12

jjohn
jjohn

Reputation: 10176

Perhaps those commands were not in your path? If the programs are in your current working directory, try ./a2dismod.

To see what path our shell is searching, try echo $PATH.

Upvotes: 3

Related Questions