On Sun, Mar 14, 2004 at 01:01:12AM +0000, Niall O Broin wrote:
> all pro tem? Or build Apache with a non threaded model? In such a case,
> what are the advantages of Apache 2 over Apache 1.3? I know it's a nice
> shiny new clean code base, but that in itself may be a bad thing for a
> while. Is non threaded Apache 2 any faster than 1.3, for a given Linux
> on given hardware?
My experience, on a pretty high traffic site:
Threaded Apache2 + PHP = bad news.
Constantly coring if anyone had a badly written script, impossible to
debug, etc.
Currently running forking MPM + suPHP (http://suphp.org)
Works like a charm.
As for whether this is any faster than apache 1.3.x...honestly don't
know...although Apache2 does have some nice features (as another
poster said)
My advice would be stay away from Apache2 threaded MPM combined with
PHP4. I think PHP5 might be better able to guarantee thread-safe-ness.
This is all on Solaris 8, but I really doubt it should make much of a
difference on Linux.
If apache 1.3x gives you adequate performance, stick with that. If you
need apache2 features, try it in traditional MPM mode.
-Niall.
--
njo at sig11.com
------------------------------------------------------------
I am a PC technician - however, this has unfortunately caused my
computer to be running Win98.
-- seen on a FreeBSD mailing-list
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!