我最近安装了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!
答案 0 :(得分:2)
您省略了Include
指令。
#Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
Include /etc/phpmyadmin/apache.conf