python-2.7 用于 python 2.7 的 mod_python

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3225498/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 16:34:35  来源:igfitidea点击:

mod_python for python 2.7

pythonpython-2.7mod-python

提问by T0xicCode

I recently downloaded python 2.7 on my computer (x64) and I would like to install mod_python for it (I have apache 2.2), however, I can't find a mod_python release supporting python 2.7. Has development stopped? If so, what should I use instead?

我最近在我的计算机 (x64) 上下载了 python 2.7,我想为它安装 mod_python(我有 apache 2.2),但是,我找不到支持 python 2.7 的 mod_python 版本。发展停止了吗?如果是这样,我应该用什么代替?

回答by Manfre

Development on mod_python has stopped and its use is no longer recommended. I suggest mod_wsgi

mod_python 上的开发已停止,不再推荐使用。我建议mod_wsgi

From the mod_python Django documentation:

来自mod_python Django 文档

Support for mod_python has been deprecated, and will be removed in Django 1.5. If you are configuring a new deployment, you are strongly encouraged to consider using mod_wsgi or any of the other supported servers.

对 mod_python 的支持已被弃用,并将在 Django 1.5 中删除。如果您正在配置新部署,强烈建议您考虑使用 mod_wsgi 或任何其他受支持的服务器。