[mod_python] Apache2 won't start after changing config file with Load mod_py...

Graham Dumpleton graham.dumpleton at gmail.com
Mon Apr 23 17:54:14 EDT 2007

On 24/04/07, Teresa Stanton <tms43 at clearwire.net> wrote:
> I installed mod_python 3.3.1 to use with my python 2.5 and Apache 2.0.58.
> Using the config information found in the following web site:
> http://www.dscpl.com.au/wiki/ModPython/Articles/GettingModPythonWorking
> I added this line:
> LoadModule python_module modules/mod_python.so
> The only change I made is in the path, 'libexec' should be 'modules' on my
> Windows XP.  When I try to start the server, it won't start at all.  There
> are no error files because it won't start.
> Unfortunately I have to run the python files I'm using in Windows.  I'm
> trying to use VideoCapture for a project in a python class.  I will be
> writing a script that will allow me to grab images that have been taken by
> any one of 3 different cameras.  But, I gotta get this Apache server running
> with mod_Py first.  Can anyone help me?

The usual reasons for a complete inability to start Apache on Windows are:

1. You are using the wrong version of mod_python binary installer for
the version of Apache you are using.

2. You are missing the required Microsoft Visual C++ runtime DLLs
which mod_python requires exist.

3. You have a problem with access privileges whereby you are running
Apache as some special user and that user does not have access rights
to read the mod_python Apache module, the C++ runtime DLLs or some
other files required by mod_python.

Someone else will have to comment on what the C++ runtime DLLs are
that are required as I don't know the exact details. If you use the
search box on www.modpython.org site to search the archive of old
mailing list posts you might possibly find the information though.


More information about the Mod_python mailing list