mod_python "version mismatch"

Philip M. Gollucci pgollucci at
Mon Apr 6 13:33:20 PDT 2009

Steve Williams wrote:
> 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:
> apache-2.2.11_3
> Together with:
> mod_python-3.3.1_2
> python25-2.5.4_1

No, you compiled mod_pythong with the old python.

Yes, you should resolve it.  The versions are so close that it probably won't 
hurt you, but if something segv I'd look there first.

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci at c: 703.336.9354
Consultant          - P6M7G8 Inc.      
Senior Sys Admin    - RideCharge, Inc. 
Contractor          - PositiveEnergyUSA
ASF Member          - Apache Software Foundation
FreeBSD Committer   - FreeBSD Foundation

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

More information about the freebsd-apache mailing list