docker/httpd: Configuration error: No MPM loaded

前端 未结 5 679
太阳男子
太阳男子 2020-12-13 19:46

I have a docker container based in the httpd official image. From nowhere (after a new build), it started failing with the error:

AH00534: httpd: Configurati         


        
5条回答
  •  再見小時候
    2020-12-13 20:05

    After comparing my configuration with latest httpd:2.4 configuration, I found that these new lines needed to be merged into conf/httpd.conf

    LoadModule mpm_event_module modules/mod_mpm_event.so
    #LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
    #LoadModule mpm_worker_module modules/mod_mpm_worker.so
    

    Note to self: When building the derivative httpd docker image, it would probably be better to mod the conf files with sed, than to just COPY in a static file

提交回复
热议问题