Few clarifications to make. On 9 October 2010 09:40, Carl Nobile <[email protected]> wrote: > In general mod_wsgi will not work well with mod_php or mod_python,
As a general statement that is not actually true. There are a few corner cases where conflicts can occur between PHP and Python with respect of what versions of things like database client libraries are used, but overall there shouldn't be any big issues. For mod_python, the main problem is where mod_python uses static Python library and not a shared library, or mod_python is using a different version of Python. Linux distributions have generally cleaned up their Python/mod_python installations now to provide and use a Python shared library and so rare that this occurs. > try > configuring your mod_wsgi apps to use daemon mode this may bring > better luck. Using daemon mode when using PHP at same time will actually make no difference. This is because PHP, including PHP extensions, are preloaded in context of Apache parent process before fork of both Apache child processes and mod_wsgi daemon processes. So, both modes of mod_wsgi equally afflicted by any blight that PHP may bring. Graham > ~Carl > > On Fri, Oct 8, 2010 at 6:01 PM, Kropotkin <[email protected]> wrote: >> Just trying to install mod_wsgi 3.3. on my system >> Apache 2.0.52 in prefork mode on RedHat Linux with PHP 5.2.13 >> >> My httpd processes start, they appear to take up no memory, have >> 'defunct' next to them and then go away. In the logs I find lines like >> this: child pid 12103 exit signal Segmentation fault (11). I think >> this is not when mod_wsgi is being loaded but on the first request. >> >> The conflict is with mod_php. When I remove that all is fine. I tried >> removing all my PHP extensions but that did not fix it. >> >> I did have python 2.3.4 installed and mod_wsgi would not compile >> against that but I installed 2.6 and ran configure with this ./ >> configure --with-python=/path/to/my/python2.6] and compile seemed to >> be fine - I got the so. >> >> Not sure where to go next >> >> Thanks for any steers >> >> Justin Wyllie >> >> -- >> You received this message because you are subscribed to the Google Groups >> "modwsgi" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/modwsgi?hl=en. >> >> > > > > -- > ------------------------------------------------------------------------------- > Carl J. Nobile (Software Engineer) > [email protected] > ------------------------------------------------------------------------------- > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
