Mod_wsgi not found for apache / windows

I cannot get Apache 2.2 to load the mod_wsgi module.

When I delete the following line from httpd.conf, it starts correctly:

`LoadModule wsgi_module modules/mod_wsgi.so`

I get this error when trying to start apache.

`httpd.exe: Syntax error on line 129 of D:/Apache2.2/conf/httpd.conf: Cannot load D:/Apache2.2/modules/mod_wsgi.so into server: The specified module could not be found. `

Environment:
- Apache 2.2.16 x86 VC9 (from ApacheLounge.com)
- Python 2.7.1 AMD64 (installed for all users)
- Added Python path to the system path
- Python works correctly with CGI

I was looking for a lot of information, none of them helped.

Does anyone have any ideas?

+3
source share
2 answers

, , , , Python ​​ ​​ .

Apache , Python , . - , mod_wsgi.so , , Python, , DLL Python, .

Python, , , .

+5

, , DLL . , , , LoadModule wsgi_module/mod_wsgi.dll

dll ?

0

Source: https://habr.com/ru/post/1779423/


All Articles