重新启动新安装的Apache2服务器时出错(Linux Mint)

时间:2012-10-06 15:13:01

标签: linux apache2

我最近安装了Apache2,它运行良好,我可以重启它和一切。 然后我安装了MySQL - 有0个错误。

当我安装phpmyadmin时,我被告知要添加以下内容

> Include /etc/phpmyadmin/apache.conf

就在这个

之下
#Include the virtual host configurations:
/etc/apache2/sites-enabled/
/etc/phpmyadmin/apache.conf

但它似乎以某种方式打破了我的脚本,我不太确定如何解决它

> 
> Syntax error on line 230 of /etc/apache2/apache2.conf: Invalid command
> '/etc/apache2/sites-enabled/', perhaps misspelled or defined by a
> module not included in the server configuration Action 'configtest'
> failed. The Apache error log may have more information.    ...fail!

1 个答案:

答案 0 :(得分:2)

您省略了Include指令。

#Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
Include /etc/phpmyadmin/apache.conf