So redhat uses python 2.4 and I need to upgrade to python 2.6 (so I did an altinstall) does anybody know how to install mod_python? (I am installing from source.) This is what I ran:
./configure --with-apxs=/usr/sbin/apxs
./configure --with-python=/usr/local/bin/python2.6
make
make install
But according to a stack trace I get mod_python is still using python 2.4 (which is the default for redhat 4) I need it to use 2.6. I'm still a newbie to this... any pointer in the right direction would be greatly appreciated!
N.B.: I can't use wsgi because my server hosts some othe开发者_JAVA技巧r websites that relies on mod_pyhton and if I install both I heard bad things happen (segfaults, deadlocks etc...) It would be I ideal if I could install it under a different name (say mod_python2.6) but I don't know if that is even possible. I also tried the Chris Lea's repository but it's missing mod_pyhton for redhat 4 64 bit
精彩评论