我怎么说 wsgi apache 的解释器版本 [英] How i say the interpreter version for wsgi apache
本文介绍了我怎么说 wsgi apache 的解释器版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
最近在 debian 中将 python 的默认版本从 2.5 更改为 2.6,但我需要 2.5,我如何配置 apache 和/或 wsgi 脚本以说它使用 pythons2.5 而不是 python 默认?
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?
推荐答案
您必须安装针对 Python 2.5 编译的 mod_wsgi 二进制包,或者针对 Python 2.5 版本自己从源代码编译 mod_wsgi.请参阅有关 --with-python 选项的说明:
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
这篇关于我怎么说 wsgi apache 的解释器版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文