2012-10-06 63 views
2

我最近安装了Apache2,它工作正常,我可以重新启动它。 然后我安装了MySQL - 有0个错误。重新启动新安装的Apache2服务器(Linux Mint)时出错

当我安装的phpmyadmin,有人告诉我,添加以下

> Include /etc/phpmyadmin/apache.conf 

略低于此

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

但它似乎在某种程度上打破了我的脚本和IM不是如何不太清楚修复它

> 
> 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! 

回答

2

您省略了Include指令。

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

哦:D现在我觉得有点笨,谢谢你! – user1725266

相关问题