[mod_python] mod_python and python2

Jim Popovitch jimpop at yahoo.com
Thu Jul 28 09:29:30 EDT 2005


On Wed, 2005-07-27 at 06:51 +1000, Graham Dumpleton wrote:
> On 27/07/2005, at 12:14 AM, Jim Popovitch wrote:
> 
> > Hi all,
> >
> > I have an interesting problem and I am not sure if there is an easy 
> > fix.
> >
> > I have an apache 1.3 system with mod_python-2.7.8 on RH 7.3 platform.  
> > I
> > want to use mod_python for a python2 application, but as I see it
> > mod_python is using python1.5 (which exists for rpm_python and can't be
> > removed).  Is there an easy httpd.conf directive to have mod_python use
> > python2, or is this something that requires rebuilding mod_python?
> 
> No, you will need to rebuild mod_python to explicitly use the newer
> version of Python.

Any idea on how to do this?  When I run ./configure from mod_python-2.7.11 
it only recognizes python1.5.  How do I force it to use python2?

-Jim P.



More information about the Mod_python mailing list