Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2008 09:56:05 +0200
From:      Borja Marcos <BORJAMAR@SARENET.ES>
To:        Tom Evans <tevans.uk@googlemail.com>
Cc:        Kris Kennaway <kris@FreeBSD.org>, freebsd-stable@freebsd.org, Jeremy Chadwick <koitsu@FreeBSD.org>, Ivan Voras <ivoras@freebsd.org>
Subject:   Re: umtxn and Apache 2.2
Message-ID:  <0681DEA1-93C8-4AEF-9D12-B95343E42299@SARENET.ES>
In-Reply-To: <1218641046.70002.6.camel@localhost>
References:  <43EC06E9-76B3-4AA1-BC5E-4E1BD64AFC2D@SARENET.ES> <g7qdh3$ml4$1@ger.gmane.org> <0296197A-28ED-4DAA-A31F-C28471E864FB@SARENET.ES> <20080812102856.GA6735@eos.sc1.parodius.com> <659A017B-5D6F-4B74-A85D-4A9A040CA442@SARENET.ES> <48A2DF31.4050907@FreeBSD.org> <D56E1311-AECF-4326-9A71-D300BA87F2A4@SARENET.ES> <48A2E2AD.8060607@FreeBSD.org> <0545482D-1E3F-4615-B3EB-04ABB838FF71@SARENET.ES> <1218641046.70002.6.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

On Aug 13, 2008, at 5:24 PM, Tom Evans wrote:

> On Wed, 2008-08-13 at 16:56 +0200, Borja Marcos wrote:
>> Personally, I find PHP far too troublesome to run threaded. These  
>> days,
> I use an event MPM based front-end apache 2.2, which reverse proxies  
> to
> either a prefork MPM apache 2.2 with mod_<insert scripting lang>, or
> directly connect to a fastcgi instance. Serve all your static content
> from the front-end, and it's all quite fast - plus you can scale out
> much much more simply.

That's what I've done finally, using threaded Apache with mod_fcgid.  
I've seen that PHP is not ready to be used as a module in a  
multithreaded Apache. Now it's working great, and, indeed, the  
multithread Apache instances can serve all the static content (images,  
etc) blazingly fast.

Thank you very much,




Borja.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0681DEA1-93C8-4AEF-9D12-B95343E42299>