> On 30 Nov 2018, at 2:50 am, Hemant Chaudhary <[email protected]> 
> wrote:
> 
> Hi All,
> 
> I am using mod_wsgi (4.5.14) version. This is working fine with 
> apache-2.4.29(worker mpm) if I build mod_wsgi with pyhton 2.7 version. 
> But if I am building same mod_wsgi with python-3.6.6 version, then during 
> serving the request from wsgi module, my process gets killed.
> 
> Is there any issue with python dependency of wsgi(4.5.14) with python2 or 
> python3 ??

What do you mean by "if I build mod_wsgi with pyhton 2.7"?

I find this statement confusing given that mod_wsgi 4.5.14 is quite old and if 
you were building from source code you shouldn't be using that version.

This makes me think you aren't actually building mod_wsgi from source code but 
you simply mean you are trying to configure existing Apache/mod_wsgi to use 
different Python installation via a virtual environment.

In short, mod_wsgi must be built from source code for the specific Python 
version you want to use. You can use mod_wsgi compiled for Python 2.7 with a 
Python virtual environment created using Python 3.6.

If you are building from mod_wsgi source code, you need to uninstall any system 
package for mod_wsgi and manually configure Apache to use the mod_wsgi you 
built from source code.

These days it is easier to use 'pip install' method to build mod_wsgi from 
source code:

    https://pypi.org/project/mod_wsgi/ <https://pypi.org/project/mod_wsgi/>

Can you please explain better what you are doing, what commands you are using 
to install mod_wsgi, how you are configuring Apache for mod_wsgi etc.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to