开发者

How do I use Python 3.0 under Apache?

I've searched for ages on how to use Python 3 under Apache. If there is a walkthrough anywhere, it's very well hidden. Thus, hopefully, one of you Python professionals could make a quick 1-2-3 on how it's done!

I'm on Windows 7 using the 开发者_如何学运维newest version of XAMPP.


Only on Python 3.1:

http://code.google.com/p/modwsgi/downloads/list


Python 3.0 is only supported via CGI. Put your CGI script in cgi-bin\. If you're willing to look at newer versions, preliminary support is available in mod_wsgi (but you'll probably have to build it yourself).


If you want to write Python 3 WSGI apps try uwsgi. I prefer nginx & uwsgi myself.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜