Mod_python on Windows Troubles

D

Dan Gottlieb

Hi,

I realize that this is somewhat vague, but I'm not really sure what to
do next. I'm trying to get Apache and mod_python set up on my windows
XP box for testing purposes. I installed the Apache 2.0.48 windows
binaries using the Apache installer, tested it and it worked fine. I
then installed the mod_python 3.0.4 windows binaries using the installer
which correctly found my ActiveState Python 2.2 installation and the
aforementioned Apache installation. I tested Apache again, and it
loaded fine. However, when I add the line "LoadModule python_module
modules/mod_python.so" to httpd.conf, the Apache service refuses to
start with the following error: "Cannot load C:/Program Files/Apache
Group/Apache2/modules/mod_python.so into server: The specified module
could not be found." Any help would be greatly appreciated.

Regards,
Dan
 
J

Josiah Carlson

modules/mod_python.so" to httpd.conf, the Apache service refuses to
start with the following error: "Cannot load C:/Program Files/Apache
Group/Apache2/modules/mod_python.so into server: The specified module

While I'm not using Apache or mod_python, I would be willing to bet that
your error is the result of using 'mod_python.so' in Windows. Try
'mod_python.dll' instead.

- Josiah
 
G

Georgy

No problem with *.so. My config: Windows XP, Apache 2.0.47 (Win32) mod_python/3.1.2b Python/2.3.2
mod_python.so 3.1.1b (hmm... it reports 3.1.2b but the file's version says 3.1.1b) is 114,688 bytes
The error message means probably that your mod_python.so and your
%SystemRoot%\system32\python22.dll or python23.dll files are not compatible.

Georgy


|
| > modules/mod_python.so" to httpd.conf, the Apache service refuses to
| > start with the following error: "Cannot load C:/Program Files/Apache
| > Group/Apache2/modules/mod_python.so into server: The specified module
|
| While I'm not using Apache or mod_python, I would be willing to bet that
| your error is the result of using 'mod_python.so' in Windows. Try
| 'mod_python.dll' instead.
|
| - Josiah
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,049
Members
48,769
Latest member
Clifft

Latest Threads

Top