apache worker instead of prefork

4 posts / 0 new
Last post
#1 Tue, 05/28/2013 - 08:30
ghislain

apache worker instead of prefork

hi,

I do not know if i miss something so i ask here :)

i wanted to test with apache worker + fast-cgi and even php-fpm on debian 7.0. I said to myself lets do the work to configure this and remove the prefork. The issue is that virtualmin-base has an absolute dependency it seems to mod php5 for apache that is prefork only.

You mean even if i have a purely html site i need to have the prefork apache module (no, no nginx wanted for now) ?

Would it be possible to relax this dependency so we can choose because the loss of performance compared to worker+ fcgi is quite high ( a little like nginx+fcgi but with apache for all our legacy settings). Even if it is not the default or even if the choice cannot be made on the install or on the virtualmin config experienced users could do this on the command line so virtualmin support will not have to endorse it (your own risk thing) but it will be possible for us to use it without package wizardry ?

regards, Ghislain.

Tue, 05/28/2013 - 11:23
andreychek

Howdy,

You don't technically need the virtualmin-base package. One thing you could do to get around the problem you're seeing there is to remove that, and then install the Apache worker mpm.

Just make sure that when you remove virtualmin-base, you don't remove any of the packages it installed... you don't want to remove things such as Virtualmin, as that would be very undesirable :-)

-Eric

Fri, 05/31/2013 - 11:36
ghislain

it worked great, thanks for the tip :)

best regards, Ghislain.

Sat, 12/28/2013 - 11:44
Hal9000

Same problem here. However several packages remain in the autoremove state, which i don't feel very comfortable with. However, on my Debian 6.0 system I have virtualmin-base installed even though prefork and mod_php are not, I have no idea how I managed to do that. Maybe something changed in the package for debian 7? Anyhow, would be cool if the dependency on the apache mpm would be losened up a bit, for example by setting the package as dependent on mod_php (default) OR mpm-worker, that should do the trick.

Topic locked