[mod_python] One Apache and two python versions with mod_python

Graham Dumpleton graham.dumpleton at gmail.com
Wed Nov 5 22:58:01 EST 2008


2008/11/6 Normando Hall <nhall at unixlan.com.ar>:
>
>
> Graham Dumpleton escribió:
>
> 2008/11/6 Normando Hall <nhall at unixlan.com.ar>:
>
>
> Hello dear.
>
> I am really neubie with python, so sorry for the questios if it is very
> silly.
>
> I have searched at the list, google, etc, and I can't to get an answer to my
> issue.
>
> I have apache 2.0.x running at my server, and python 2.3.4 and python 2.4.x.
> Python 2.3 is the default and I can't to upgrade because use yum and I want
> to avoid inconcistenteces  at my server in future updates. But some
> applications need python 2.4, and then I call directly with "python2.4"
> because it is at the path. Python 2.3 is simple "python".
>
> My question is: Can I use two mod_python (each one compiled under correct
> python version) and loaded in apache as two differente modules? For instance
> mod_python.so and mod_python2.so. I presume it is not possible.
>
> Can you give me some light to this issue?
>
>
> No.
>
> If your applications are WSGI capable, use fastcgi/flup instead.
>
> Graham
>
>
>
>
> Hello Graham and thanks for the fast reply.
>
> I want to use Django and a module named Surftracr for squid reports with web
> access. I don't know what mean WSGI, but if you can confim these
> applications are WSGI, I will look at fastcgi/flup options.

Django can host on FASTCGI so that is okay. I don't know what Surftracr is.

PS. Please use reply-all and keep discussion on list.

Graham



More information about the Mod_python mailing list