mod_wsgi.so for windows 7 64 bit?

拟墨画扇 提交于 2019-12-03 14:02:38

问题


Where can I get mod_wsgi.so for windows 7 64 bit?

I have researched around and all point me to http://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi

But there is no mod_wsgi.so

I found another link https://code.google.com/p/modwsgi/downloads/detail?name=mod_wsgi-win32-ap22py27-3.3.so

But I am not sure whether it can be trusted or not. Besides it seems that it is for 32 bit.

Any ideas?


回答1:


If you had read the Google Code page and followed the link you would have found this, which includes multiple versions including a 64-bit version built with VC10 for httpd 2.4.




回答2:


I have recently did this set up.. And believe me it was really difficult specially on windows machine...These two reference link helped me to achieve that..

  1. https://beamtic.com/installing-mod-wsgi-apache-windows
  2. https://groups.google.com/forum/#!topic/modwsgi/RVD1hIxb2eI

In short:

  1. Install Python 3.x
  2. Download Microsoft Visual C++ Build Tool compatible to python version that you have been using.
  3. Run this command -> mod_wsgi-express module-config
  4. Once you run this command it will give you some output. In my case it was:

    LoadFile "f:/anaconda_3_32_bit/python37.dll" LoadModule wsgi_module "f:/anaconda_3_32_bit/lib/sitepackages/mod_wsgi/server/mod_wsgi.cp37-win32.pyd" WSGIPythonHome "f:/anaconda_3_32_bit"

  5. Paste this configuration as it is in httpd.conf file, for apache web server.. Do not change anything at all

And you are done !! Hope it'll help someone :)



来源:https://stackoverflow.com/questions/31979401/mod-wsgi-so-for-windows-7-64-bit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!