2009/4/16 Johny <pyt...@hope.cz>: > > > Graham, > Thank you for your reply. > So I tried to rebuild the mod_wsgi but it finds the old Apache > ( prefork version) 2.0.59 > > root@ /mod_wsgi-2.4# ./configure > checking for apxs2... no > checking for apxs... /usr/sbin/apxs > checking Apache version... 2.0.59 > checking for python... /usr/bin/python > configure: creating ./config.status > config.status: creating Makefile > > How can I solve that?
As the README in the source code says, use the --with-apxs option to indicate where the 'apxs' program for the version of Apache you want to use is located. This is also mentioned in online installation instructions at: http://code.google.com/p/modwsgi/wiki/QuickInstallationGuide Graham >> > I have installed Apache/2.0.59 with MPM prefork with mod_wsgi and >> > it works. >> >> > But I wanted to installed MPM worker so I compiled and installed >> > Apache/2.0.63 with MPM worker to a different directory but have not >> > installed again mod_wsgi .Instead I copied the installed mod_wsgi to >> > the modules directory that Apache/2.0.63 with MPM worker uses. >> > Is it possible? >> > I am asking that because I receive Segmentation fault >> >> > Thu Apr 16 12:36:24 2009] [notice] Apache/2.0.63 (Unix) mod_wsgi/2.3 >> > Python/2.3.5 configured -- resuming normal operations >> > [Thu Apr 16 12:36:34 2009] [notice] child pid 17305 exit signal >> > Segmentation fault (11) >> > [Thu Apr 16 12:36:38 2009] [notice] child pid 17306 exit signal >> > Segmentation fault (11) >> >> > How can I repair that? >> >> Normally the compiled mod_wsgi module should work with either prefork >> or worker MPM, but technically there are some things that could stop >> that. I can therefore only recommend you rebuild mod_wsgi from source >> against the newer Apache for the correct MPM. >> >> Graham > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to modwsgi@googlegroups.com To unsubscribe from this group, send email to modwsgi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---