mod_wsgi Daemon Mode: "Enable threads support in APR"?

Philip M. Gollucci pgollucci at
Sun Jul 4 01:54:50 UTC 2010

On 7/3/2010 8:43 PM, Steve Williams wrote:
> Thanks again.
> At 04:43 PM 7/3/2010, Philip M. Gollucci wrote:
>> Additionally, you should select the worker MPM which is not the
>> default. (WITH_MPM=worker)
> I don't see that in make config.  Does that go in /etc/make.conf?
anything from OPTIONS, or the make CLI can go in /etc/make.conf.
Not all WITH_* variables have been OPTIONized.

Yes, that goes in /etc/make.conf

> I read of some concern about Django and PHP with the worker MPM.  Are
> those concerns still valid?
IMHO, you really should run 2 different httpd instances 1 with
python+django, the other with php.

If I was going to do perl/php I would say the same thing.

See the /etc/rc.conf apache22_profiles="a b c" setup for this

> Looks like configuring Django with mod_wsgi isn't too difficult, even
> with threading.  But should I still be concerned about PHP?
Beats me, I would code php no matter what you pay me.

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci at c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Sr. System Admin,                 Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-apache mailing list