mod_python "version mismatch"

Steve Williams sbw at
Sun Apr 5 12:57:16 PDT 2009

On Apache start/restart, this always appears in httpd-error.log:

python_init: Python version mismatch, expected '2.5.2', found '2.5.4'.

As far as I know, it doesn't hurt anything, but is this something 
that should be resolved?

I did some googling.  I didn't understand everything I read, but I 
believe the error is because I'm using:


Together with:


The dependencies for mod_python-3.3.1_2 include apache-2.0.63_2.  I 
assume that means mod_python-3.3.1_2 is set up for Apache 2.0, not 
2.2, which appears to be the cause of the version mismatch in other 
*nix environments.

Is there a way to resolve this?

More information about the freebsd-apache mailing list