dvapelnik / docker-lap

Docker container with apache webserver and various PHP versions (5.3, 5.4, 5.5, 5.6, 7.0)
https://hub.docker.com/r/dvapelnik/docker-lap/
6 stars 4 forks source link

apache2 failed #1

Open sitex opened 8 years ago

sitex commented 8 years ago

tag : docker-lap/debian-jessie-php56

Starting web server: apache2 failed! The apache2 configtest failed. ... (warning). Output of config test was: [Sun Jun 12 04:40:25.371913 2016] [:crit] [pid 340:tid 140496241792896] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.

dvapelnik commented 8 years ago

Hello @sitex ! Thanks for request Tag docker-lap/debian-jessie-php56 may have some problem. I do not often use it. Can you show more information about you configuration and environment?

sitex commented 8 years ago

I was testing dvapelnik/efig and docker-lap/debian-jessie-php56 wasn't starting properly. So I entered the container and found the error (read first message).

So far I've found only this solution:

  1. To disable event MPM, you can do: sudo a2dismod mpm_event
  2. and after that to enable prefork, you should do: sudo a2enmod mpm_prefork
dvapelnik commented 8 years ago

Thanks for reply. Can you create PR with your fix? 13.06.2016 12:29 пользователь "Ivan Samorodov" notifications@github.com написал:

I was testing dvapelnik/efig and docker-lap/debian-jessie-php56 wasn't starting properly. So I entered the container and found the error (read first message).

So far I've found only this solution:

  1. To disable event MPM, you can do: sudo a2dismod mpm_event
  2. and after that to enable prefork, you should do: sudo a2enmod mpm_prefork

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dvapelnik/docker-lap/issues/1#issuecomment-225531805, or mute the thread https://github.com/notifications/unsubscribe/ABfWhNYcT1n7Z_3Wf3DVfwKQZfzoUwNBks5qLSLogaJpZM4IztDI .