LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Apache 2 and PHP

[ILUG] Apache 2 and PHP

Niall James O'Higgins njo at sig11.com
Sun Mar 14 01:39:46 GMT 2004


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



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell