How i say the interpreter version for wsgi apache

爷,独闯天下 提交于 2019-12-13 02:25:43

问题


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:


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




回答2:


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



来源:https://stackoverflow.com/questions/3186526/how-i-say-the-interpreter-version-for-wsgi-apache

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!