Cannot load mod_wsgi on Windows (neither mod_python)
Posted: Sat Feb 06, 2010 1:25 pm
Hi,
I have Windows Vista x64; wamp server (apache 2.2.11) and I'm trying to load mod_wsgi
I have
In my httpd.conf and this is the full path. The file have read&execute permission for Everyone
The mod_wsgi.so is mod_wsgi-3.0 - Apache 2.2 / Python 2.6
The python is in my path variable
Still, apache gives an error:
I've searched google for a couple of hours, but did not find solution to this problem.
It seems that my apache is in worker mode (there is "starting 64 workers" in the log), but according to mod_wsgi documentation, it can be run in both worker and prefork modes.
P.S. Similar error is received when I'm trying to load mod_python
P.P.S. Here is the info form dependency walker:
The mod_wsgi.so is x86 (but as far as I know, the apache in wamp is x86 as well)
I have Windows Vista x64; wamp server (apache 2.2.11) and I'm trying to load mod_wsgi
I have
Code: Select all
LoadModule wsgi_module "E:/wamp/bin/apache/Apache2.2.11/modules/mod_wsgi.so"The mod_wsgi.so is mod_wsgi-3.0 - Apache 2.2 / Python 2.6
The python is in my path variable
Code: Select all
C:\Users\Darhazer>python --version
Python 2.6.4Code: Select all
httpd: Syntax error on line 128 of E:/wamp/bin/apache/Apache2.2.11/conf/httpd.co
nf: Cannot load E:/mod_wsgi.so into server: The specified module could not be fo
und.It seems that my apache is in worker mode (there is "starting 64 workers" in the log), but according to mod_wsgi documentation, it can be run in both worker and prefork modes.
P.S. Similar error is received when I'm trying to load mod_python
P.P.S. Here is the info form dependency walker:
Code: Select all
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Error: Modules with different CPU types were found.
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.