This thread is three years old and still unresolved as far as I can tell.
I installed Virtualmin using the install.sh script.
I am trying to install apache-mpm-worker, and it is forcing me to uninstall virtualmin-base.
https://www.virtualmin.com/node/16963#comment-75232
“There will be a second script which converts a virtualmin-base install into a virtualmin-configure system without breaking anything (hopefully).”
Is this still the plan? Any progress?
I would consider this issue a major bug. Virtualmin DOES NOT depend on libapache2-mod-php5, so it should not be listed as a dependency.
Being unable to use mpm-worker makes Virtualmin USELESS for anything other than low-traffic sites.
https://www.virtualmin.com/node/25497
nibb Posted: Fri, 2013-02-22 15:00
Why does Virtuamin uses apache in pre-fork as default?
This is awful. Its not 2005 anymore. Most web servers use worker today. Not only it consumes less RAM but allows more traffic to be handled.
Pre-fork cannot scale in traffic.
Based on this, Virtualmin would only be suited for very low traffic websites and servers. Its not fully using the potential from Apache as a web server.
This behaviour should really change in the future. Or in either case, users should have the option when installing it or after it to decide which mode to use.
I searched the forums a bit and its seems you cannot use worker even if you want because it conflicts and creates problems with virtualmin itself.
Honestly, this could be a huge reason not to use Virtualmin. Virtualmin is supposed to be for hosting, to host multiple virtual hosts. But if you are limit into traffic you can handle with Apache it does not make to much sense.
I’ve tried the following work-around and it seems to have worked. This issue still needs to be dealt with though. Users shouldn’t have to hunt through forums to find a work-around that is still experimental.
# aptitude -s remove virtualmin-base
The following packages will be REMOVED:
procmail-wrapper{u} usermin-virtual-server-theme{u} virtualmin-base
webmin-security-updates{u} webmin-virtual-server{u} webmin-virtual-server-theme{u}
webmin-virtualmin-awstats{u} webmin-virtualmin-dav{u} webmin-virtualmin-htpasswd{u}
webmin-virtualmin-mailman{u} webmin-virtualmin-svn{u}
0 packages upgraded, 0 newly installed, 11 to remove and 57 not upgraded.
Need to get 0 B of archives. After unpacking 11.2 GB will be freed.
aptitude unmarkauto procmail-wrapper usermin-virtual-server-theme virtualmin-base webmin-security-updates webmin-virtual-server webmin-virtual-server-theme webmin-virtualmin-awstats webmin-virtualmin-dav webmin-virtualmin-htpasswd webmin-virtualmin-mailman webmin-virtualmin-svn
aptitude -s remove virtualmin-base The following packages will be REMOVED:
virtualmin-base
0 packages upgraded, 0 newly installed, 1 to remove and 58 not upgraded.
Need to get 0 B of archives. After unpacking 73.7 kB will be freed.
aptitude remove libapache2-mod-php5
aptitude install apache2-mpm-worker
(other references)
http://www.virtualmin.com/node/16963
http://www.virtualmin.com/node/17298
http://www.virtualmin.com/node/25497