【问题标题】:Apache error when installing mod_wsgi on windows: specified module could not be found在 Windows 上安装 mod_wsgi 时出现 Apache 错误:找不到指定的模块
【发布时间】:2013-10-19 18:41:17
【问题描述】:

我收到 apache 错误:

Cannot load C:/ms4w/Apache/modules/mod_wsgi.so into server: The specified module could not be found

我已经在网上搜索过,找到了this link,我想我尝试了这里描述的大部分内容,但我的安装仍然无法正常工作,所以我想我需要一些帮助。

  • 我运行的是 windows XP 32bit pro SP3,新安装在 VM 上
  • 我正在运行我下载的 python 2.6 here
  • 我正在尝试安装 mod_wsgi 3.3 for python 2.6,我下载了 here
  • 已为所有用户安装 Python
  • 我运行 apache 2.2.22,作为ms4w package 的一部分
  • 我的文件名是正确的 (mod_wsgi.so)
  • 我的 LoadModule 条目是:LoadModule wsgi_module modules/mod_wsgi.so

如果我评论我的 LoadModule 行 apache 运行良好。 Python 也在工作。

但是,我不确定如何验证 apache 的用户是否能够读取 Windows XP 上的模块。

我不知道还能尝试什么,在此先感谢任何提供帮助的人。

【问题讨论】:

  • 你确定你有一个“模块”目录吗?通常它是“模块”。复数!
  • 抱歉是模块,我打错了

标签: apache windows-xp mod-wsgi python-2.6


【解决方案1】:

希望您的问题已得到解决。如果没有,我想建议very easy tutorial,但是这是使用 wampserver。

需要考虑的几点: 将 mod_wsgi 版本 兼容 下载到 wampserver 的 apache & python 版本

我已经用 apache 2.4 & python 2.7 32 bit 安装了最新的 wamp,所以我从 here. 获得了 mod_wsgi

希望对你有帮助。

【讨论】:

    猜你喜欢
    • 2010-09-05
    • 2012-05-13
    • 1970-01-01
    • 2017-11-07
    • 2019-01-01
    • 2015-05-05
    • 1970-01-01
    • 2014-02-12
    相关资源
    最近更新 更多