我怎么说 wsgi apache 的解释器版本

发布于 2024-09-08 05:20:28 字数 98 浏览 3 评论 0原文

在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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

焚却相思 2024-09-15 05:20:28

您必须安装针对 Python 2.5 编译的 mod_wsgi 软件包二进制文件,或者自己针对 Python 2.5 版本从源代码编译 mod_wsgi。请参阅有关 --with-python 选项的注释:

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

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

Smile简单爱 2024-09-15 05:20:28

您需要针对适当版本的 Python 重新编译 mod_wsgi。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文