Skip to content
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

Unable to start apache #807

Closed
Scisci75 opened this issue Apr 2, 2019 · 2 comments
Closed

Unable to start apache #807

Scisci75 opened this issue Apr 2, 2019 · 2 comments
Labels
question Usability question, not directly related to an error with the image

Comments

@Scisci75
Copy link

Scisci75 commented Apr 2, 2019

Hi, I trying to use php7.3-apache image but apache doesn't start.
I've this error:
AH00534: apache2: Configuration error: No MPM loaded.
In my docker file i've only insert
FROM php:7.3-apache

Someone can help me please?
Thanks
Mirko

@wglambert wglambert added the question Usability question, not directly related to an error with the image label Apr 2, 2019
@wglambert
Copy link

Could be SELinux related or a conflict with your host filesystem and the Docker storage driver #392 (comment)

@tianon
Copy link
Member

tianon commented Apr 4, 2019

Yep, unable to reproduce:

$ cat Dockerfile
FROM php:7.3-apache
$ docker build --pull .
Sending build context to Docker daemon   12.8kB
Step 1/1 : FROM php:7.3-apache
7.3-apache: Pulling from library/php
Digest: sha256:8139a8e303500158987fe2d526cdd98f5da1d447a04018fb8d4ea4c7f82be096
Status: Image is up to date for php:7.3-apache
 ---> 406c73effb13
Successfully built 406c73effb13

$ docker run -it --rm 406c73effb13
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.27. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.27. Set the 'ServerName' directive globally to suppress this message
[Thu Apr 04 21:45:16.687555 2019] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.25 (Debian) PHP/7.3.3 configured -- resuming normal operations
[Thu Apr 04 21:45:16.687587 2019] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'

I'd suggest trying the Docker Community Forums, the Docker Community Slack, or Stack Overflow for further assistance.

@tianon tianon closed this as completed Apr 4, 2019
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

3 participants