2

我最近安装了 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!
4

1 回答 1

3

你省略了Include指令。

#Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
Include /etc/phpmyadmin/apache.conf
于 2012-10-06T15:21:45.243 回答