[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:
/usr/lib/python2.3/site-packages/MySQL_python-1.2.2-py2.3-linux-i686.egg
/usr/lib/python2.3/site-packages/setuptools-0.6c6-py2.3.egg
/usr/lib/python2.3/site-packages/flup-1.0-py2.3.egg
/usr/lib/python23.zip
/usr/lib/python2.3
/usr/lib/python2.3/plat-linux2
/usr/lib/python2.3/lib-tk
/usr/lib/python2.3/lib-dynload
/usr/lib/python2.3/site-packages
/usr/lib/python2.3/site-packages/PIL


Thanks.



More information about the Mod_python mailing list