> On 29 Feb 2016, at 9:25 PM, Jaqen Nki <[email protected]> wrote:
> 
> Hey, Im following a basic development series here and developing an ubuntu VM 
> (finally going smooth):
> 
> https://www.youtube.com/watch?v=Lv1fv-HmkQo&list=PLQVvvaa0QuDc_owjTbIY4rbgXOFkUYOUB
>  
> https://www.digitalocean.com/community/tutorials/how-to-deploy-a-flask-application-on-an-ubuntu-vps
> 
>  I was just curious is version of modwsgi (4.4.22 windows, 3.5 linux?)  How 
> to upgrade it on ubuntu ?    when I run     
> 
> sudo apt-get install libapache2-mod-wsgi          then         apt-cache 
> showpkg libapache2-mod-wsgi
> 
> I get 
> 
> Provides:
> 3.4-4ubuntu2.1.14.04.2 - httpd-wsgi 
> 3.4-4ubuntu2 - httpd-wsgi


The situation with some Linux distributions is absolutely pathetic. The version 
of mod_wsgi they supply in their own system packages is ancient and there is 
zero you can do about it besides uninstall their package for mod_wsgi and 
install mod_wsgi from source code yourself.

If you are just playing around at this point, I would suggest you first use 
mod_wsgi-express. This can be installed using Python ‘pip’ into a Python 
virtual environment very easily. You can then run mod_wsgi-express on the 
command line without having to know anything about how to configure Apache. For 
more details see:

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

Other instructions for how to build mod_wsgi from source code can be found at:

  http://modwsgi.readthedocs.org/en/develop/ 
<http://modwsgi.readthedocs.org/en/develop/>

The instructions are showing their age, so if have issues with following them, 
post a followup. Best though to see if you can use mod_wsgi-express initially 
if just want something to develop and learn with.

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