Graham Dumpleton
graham.dumpleton at gmail.com
Sat Oct 6 22:38:17 EDT 2007
Are you 100 percent confident that your new mod_python.so copied into the location where Apache was loading it and that it replaced the existing version? Check the time stamps of the mod_python.so where Apache is loading it from to see if it changed. Is there anything in the Apache error logs about a version mismatch, ie. compile time Python version does match runtime version of Python library found? Graham On 07/10/2007, Aaron Bycoffe <bycoffe at gmail.com> wrote: > 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. > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python >
|