-
Notifications
You must be signed in to change notification settings - Fork 2k
Apache mpm_event #353
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
Comments
Right now, #392 prevents you from changing and using that, even in your own Dockerfile. It looks like an SELinux issue, but not completely certain yet. |
@tianon or @yosifkit, would either of you know about SELinux/Docker Security issues preventing someone from running various Apache config commands in the |
@rosineygp, I mentioned in #392 that this only happens when using |
Sorry for the delay! I can confirm that this does indeed work on FROM php:7.2-apache
RUN a2dismod mpm_event && a2enmod mpm_prefork Sending build context to Docker daemon 2.048kB
Step 1/2 : FROM php:7.2-apache
---> c6965aaf628c
Step 2/2 : RUN a2dismod mpm_event && a2enmod mpm_prefork
---> Running in db4220d1497b
Module mpm_event already disabled
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Removing intermediate container db4220d1497b
---> a7639b932f92
Successfully built a7639b932f92 So, I guess the only advice I can possibly give is to either:
Since this isn't an issue with the image, I'm going to close. Sorry! |
Figured I'd leave a comment here that on RHEL running Kubernetes, I changed the I followed the instructions here: #392 (comment) |
How can I use mpm_event with php:7-apache
There is a following line on base Dockerfile
RUN a2dismod mpm_event && a2enmod mpm_prefork
There is a way to replace change it?
note: I commented this line and rebuild image... but apache not worked.
The text was updated successfully, but these errors were encountered: