[mod_python] Windows Installation

Nicolas Lehuen nicolas at lehuen.com
Sat Aug 5 06:26:00 EDT 2006


Hi Faizan,

Here is an answer I gave a few month ago about a similar problem.

"""
One of the possible cause of your problem is that Apache does find
mod_python.so but not one of the DLL it relies on. Unfortunately the
error reporting in this case is quite scarce and misguiding.

The candidates missing DLLs are python24.dll and the Microsoft Runtime
DLLS (normally msvcr71.dll and msvcp71.dll).

Make sure that your Python directory and the runtime DLLs can be found
on your PATH. The runtime DLLs are normaly copied in your Python
directory, so putting the Python directory on your PATH variable should
do the trick.

Also, make sure that the user which is running Apache has its PATH
variable properly set. The best way to do this is to define it at the
system-wide level, but logging it under the user and defining the
variable at the user level is also possible.
"""

Hopefully we'll get the mod_python Wiki up and running real soon now, so
we'll be able to add a bit of documentation on the subject.

Regards,
Nicolas

2006/8/5, Faizan Tayyab <faizantayyab at yahoo.com>:
>
> Hi All,
>
> I have installed Apache HTTP Server 2.2.3 on my local
> machine running windows XP. It is working fine. Then i
> have installed mod_python 3.2.10 for windows
> installation from
> http://www.lehuen.com/nicolas/download.
>
> After that i altered the apache config file adding
> LoadModule python_module modules/mod_python.so
>
> i can see the mod_python module in the Apache2.2
> /module, but when i try to run the Apache services
> again it says it cannot locate (find) the mod_python
> module.
>
> If i remove the above added LoadModule line in the
> config the Apache web services run as normal.
>
> What am i doing wrong???
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20060805/bb80be8f/attachment.html


More information about the Mod_python mailing list