怎么说呢间preTER版本的Apache WSGI [英] How i say the interpreter version for wsgi apache

查看:227
本文介绍了怎么说呢间preTER版本的Apache WSGI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在debian的蟒蛇最近去改变默认的版本从2.5到2.6,但我需要2.5,我怎么可以配置Apache和/或WSGI脚本说它使用pythons2.5而不是蟒蛇默认?

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的二进制包,或者从源码编译code自己对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://$c$c.google.com/p/modwsgi/wiki/QuickInstallationGuide#Configuring_The_Source_$c$c

这篇关于怎么说呢间preTER版本的Apache WSGI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆