r8 / vagrant-lamp

My default LAMP development stack for Vagrant
http://r8.github.io/vagrant-lamp/
753 stars 255 forks source link

On vagrant reload apache won't start again #117

Closed culshaw closed 9 years ago

culshaw commented 9 years ago

I had to change the following file:

/etc/apache2/mods-available/mpm_event.load

and change: /etc/apache2/mods-available/mpm_event.load from: LoadModule mpm_event_module /usr/lib/apache2/modules/mod_mpm_event.so to: LoadModule mpm_prefork_module /usr/lib/apache2/modules/mod_mpm_prefork.so

This is probably the wrong way to do it but it works :)

r8 commented 9 years ago

Thanks for the report. I'll check it out

m01 commented 9 years ago

@culshaw's suggestion is consistent with the Arch Linux Apache wiki page. However, since you use an Ubuntu box, I did the following to manually fix it..

sudo a2dismod mpm_event
sudo apt-get install apache2-mpm-prefork
sudo a2enmod mpm_prefork
sudo service apache2 restart