www/apache22 'threads' support

I'd like to install Django which requires mod_wsgi which requires Apache with 'threads' support. The 9-RELEASE server already has apache-2.2.22_5 installed from ports without threads support enabled.

So the plan is to upgrade to apache-2.2.24 from ports with threads support but how do I do that? make config doesn't show the option (in contrasts to suggestions from most articles on the Internet)

Other suggestion is to put
Code:
WITHOUT_THREADS=false
in /etc/make.conf but it's a no-no according to this link: http://www.freshports.org/www/apache22/:
2012-09-02
Affects: users of www/apache22, www/apache22-event-mpm, www/apache22-itk-mpm, www/apache22-peruser-mpm, www/apache22-worker-mpm
Author: ohauer@FreeBSD.org
Reason:
The port use now the options NG framework, this means WITH_xxx
directives are no longer valid.

Additional:
- APR only specific options like THREADS, MYSQL, PGSQL, SQLITE,
BDB and IPV6 where removed.

What to do? Help appreciated.
 
ronjns said:
I'd like to install Django which requires mod_wsgi which requires Apache with 'threads' support.
Only if you want use mod_wsgi in daemon mode.

BTW:
Not Apache, but the Apache runtime library must be compiled with support for threading.

ronjns said:
Code:
Additional:
- APR only specific options like THREADS, MYSQL, PGSQL, SQLITE,
BDB and IPV6 where removed

Code:
cd /usr/ports/devel/apr1 && make config
(BTW: --enable-threads should be the default)
 
Wiedmann said:
Only if you want use mod_wsgi in daemon mode.

BTW:
Not Apache, but the Apache runtime library must be compiled with support for threading.



Code:
cd /usr/ports/devel/apr1 && make config
(BTW: --enable-threads should be the default)

You're an angel, many thanks!
 
Back
Top