开发者

Cannot load module

I receive this error when I try to run Apache 2.2 with mod_wsgi, I have the correct Python version number and the module is installed correctly for Apache.

httpd.exe:开发者_如何转开发 Syntax error on line 128 of C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files (x86)/Apache Software Foundation/Apache2.2/modules/mod_wsgi.so into server: The specified module could not be found.


Verify that you have the right build of Python for your Apache installation. If you have a 32-bit Apache build and 64-bit Python build you will receive this error. Apache only comes in 32-bit for Windows, so if you're running 64-bit make sure you still get 32-bit Python.


The permissions on the file must be such that the daemon user that Apache runs as can read it. Also make sure that the file isn't actually called mod_wsgi.so.so due to Windows file browser hiding the outer .so extension.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜