在Windows 7上的wamp apache中安装python cgi

时间:2011-08-19 20:21:21

标签: python apache windows-7 wamp mod-wsgi

我正在尝试在Windows 7上安装mod_wsgi,但无法让它工作。我已经验证一切都是32位,文件名是正确的,我已经为所有用户安装了python 2.7。 python路径已添加到PATH,我已检查它在控制台中工作。有谁知道为什么apache产生以下消息?

The Apache service named  reported the following error:
>>> httpd.exe: Syntax error on line 128 of C:/wamp/bin/apache/Apache2.2.17/conf/httpd.conf: Cannot load C:/wamp/bin/apache/Apache2.2.17/modules/mod_wsgi.so into server: The Apache service named is not a valid Win32 application.     

1 个答案:

答案 0 :(得分:0)

为“所有用户”安装/重新安装python。我遇到了同样的问题。