开发者

Installing python cgi in wamp apache on windows 7

I'm trying to install mod_wsgi on windows 7, but can't get it to work. I've validated that everything is 32-bit, the filenames are correct and I've installed python 2.7 for all users. The python path has been 开发者_JS百科added to PATH and I have checked it's working in console. Does anyone have any idea why apache produces the following message?

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.     


Install/Re-install python for "All users". I faced the same problem.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜