[mod_python] mod_python still using Python 2.3 after upgrading to 2.5

Aaron Bycoffe bycoffe at gmail.com
Sat Oct 6 22:23:55 EDT 2007

I have upgraded from Python 2.3 to Python 2.5. After the upgrade, I
reinstalled mod_python 3.3.1. I ran the following configure command:
./configure --with-apxs=/usr/sbin/apxs --with-python=/usr/bin/python2.5

However, mod_python is still using Python 2.3. How do I get it to use
2.5 instead? (I have restarted Apache.)

This is from a mod_python.testhandler info page:

Apache version: Apache/2.0.61 (Unix) mod_ssl/2.0.61 p¯"@¯"ˆä
PHP/4.4.7 mod_python/3.3.1 Python/2.3.4 mod_perl/2.0.3 Perl/v5.8.5

Python sys.version: 2.3.4 (#1, Oct 11 2006, 06:18:43)  [GCC 3.4.6
20060404 (Red Hat 3.4.6-3)]

Python sys.path:


More information about the Mod_python mailing list