简体   繁体   English

Python-Apache-Windows 7-Wamp

[英]Python - apache - windows 7 - wamp

I tried millions of times to install python with apache on my windows 7 32 bit. 我尝试了数百万次,以在Windows 7 32位上用apache安装python。 But failed. 但是失败了。 Can anybody tell me the simplest way to get it work??? 谁能告诉我让它工作的最简单方法???

如果您要运行一个内置于python的简单Web应用程序,则mod_wsgi是一个Apache模块,它将使服务器能够以守护程序或嵌入式代码的形式运行python代码。

Common problems with Apache/mod_wsgi installation, if that is what you are trying to install are: 如果您要安装的是Apache / mod_wsgi安装,则通常会遇到以下问题:

  1. Installing a mix of 32 and 64 bit binaries for Apache, Python and mod_wsgi. 为Apache,Python和mod_wsgi安装32位和64位二进制文​​件的混合。

  2. Not installing Python for all users on the system. 没有为系统上的所有用户安装Python。

Do either of those and Apache will not startup properly. 执行上述任一操作,Apache将无法正确启动。

Since you don't say what exactly failed, it is hard to guess. 由于您没有说到底是什么失败了,所以很难猜测。 Provide more information. 提供更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM