小编Tas*_*ara的帖子

apache2 configtest 失败,输出“未加载 MPM”。

root@tasnim:/home/tara# service apache2 restart
 * Restarting web server apache2                                         [fail] 
 * The apache2 configtest failed.
Run Code Online (Sandbox Code Playgroud)

配置测试的输出是:

AH00534: apache2: Configuration error: No MPM loaded.
Action 'configtest' failed.
Run Code Online (Sandbox Code Playgroud)

使用

sudo a2enmod mpm_prefork
service apache2 restart
Run Code Online (Sandbox Code Playgroud)

我有:

root@tasnim:/home/tara# service apache2 restart
 * Restarting web server apache2                                  [fail] 
 * The apache2 configtest failed.
Run Code Online (Sandbox Code Playgroud)

配置测试的输出是:

AH00526: Syntax error on line 156 of /etc/apache2/apache2.conf:
Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error …
Run Code Online (Sandbox Code Playgroud)

networking apache2 14.04

3
推荐指数
1
解决办法
3万
查看次数

标签 统计

14.04 ×1

apache2 ×1

networking ×1