Apache的命令行不工作 [英] Apache Command Line Not Functioning

查看:254
本文介绍了Apache的命令行不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安装了Apache 2.2.3版本在我的VPS在CentOS 5.6,但当我尝试在 a2dismod a2enmod 得到命令没有找到错误。

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?

感谢您


  • 这是我的第一个VPS,这也是我与Linux和CentOS第一次经历。

  • 服务器运行正常只需要禁用几个模块。

推荐答案

在CentOS的没有 a2enmod a2dismod 命令。要在Apache中禁用不需要的模块,你需要进行的步骤,在&ndash的低端描述;例如&ndash的;这个帖子: http://www.cyberciti.biz / FAQ / HOWTO - 禁用的Apache模块-下Linux的UNIX /

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/

这篇关于Apache的命令行不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆