views:

12

answers:

2

In debian recently change de default version of python from 2.5 to 2.6 but i need 2.5, how i can configure apache and/or wsgi script to say it use pythons2.5 and not python default?

+1  A: 

You'll need to recompile mod_wsgi against the appropriate version of Python.

Ignacio Vazquez-Abrams
+1  A: 

You must install mod_wsgi package binary compiled against Python 2.5, or compile mod_wsgi from source code yourself against the Python 2.5 version. See notes about --with-python option in:

http://code.google.com/p/modwsgi/wiki/QuickInstallationGuide#Configuring_The_Source_Code

Graham Dumpleton