Skip to content

AH00534: apache2: Configuration error: No MPM loaded. #674

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
foolzzz opened this issue Jun 24, 2018 · 5 comments
Closed

AH00534: apache2: Configuration error: No MPM loaded. #674

foolzzz opened this issue Jun 24, 2018 · 5 comments
Labels
question Usability question, not directly related to an error with the image

Comments

@foolzzz
Copy link

foolzzz commented Jun 24, 2018

php 4.8-rce web那个docker启动是失败的

root@b1115ae8ce64:/usr/local/bin# ./apache2-foreground
AH00534: apache2: Configuration error: No MPM loaded.

这个地方配置有问题。我换了php:5.6-apache也是这个错误。 是基础镜像就有问题。。不知道你咋觉得的呢。。

@phy25
Copy link

phy25 commented Jun 24, 2018

4.8-rce 是什么?请补充详细信息。

Please explain what is 4.8-rce.

@foolzzz
Copy link
Author

foolzzz commented Jun 25, 2018

sorry .

when i run

docker run -d php:7.2-apache 

it will exit ..

在容器bash内运行命令

root@943512d6b251:/etc/apache2# apache2-foreground
AH00534: apache2: Configuration error: No MPM loaded.

apache无法启动。。

@foolzzz foolzzz changed the title ph有个问题你看下 AH00534: apache2: Configuration error: No MPM loaded. Jun 25, 2018
@hairmare
Copy link

I can't reproduce this. Maybe your image is outdated?

Try running this

docker pull php:7.2-apache

before docker run.

@wglambert
Copy link

$ docker run -d --rm php:7.2-apache 
e42b9ca35cb179b15f97724ce38ff30d3c11f99c891ced9672705703c6404eee
$ docker exec -it e42 bash
root@e42b9ca35cb1:/var/www/html# apache2-foreground
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
[Mon Jun 25 17:16:36.068696 2018] [mpm_prefork:notice] [pid 29] AH00163: Apache/2.4.25 (Debian) PHP/7.2.6 configured -- resuming normal operations
[Mon Jun 25 17:16:36.068759 2018] [core:notice] [pid 29] AH00094: Command line: 'apache2 -D FOREGROUND'

Similar error #392 (comment), could be SELinux related or something with the Dockerfile. Are you using the official image as-is or building your own when you encounter this issue?

@wglambert wglambert added the question Usability question, not directly related to an error with the image label Jun 25, 2018
@foolzzz
Copy link
Author

foolzzz commented Jul 2, 2018

#392

@foolzzz foolzzz closed this as completed Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Usability question, not directly related to an error with the image
Projects
None yet
Development

No branches or pull requests

4 participants