Search code examples
apache2debiansystem-administrationmod-wsgidjango-wsgi

How i say the interpreter version for wsgi apache


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?


Solution

  • 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