开发者

mod_python using wrong version

开发者 https://www.devze.com 2023-01-04 10:19 出处:网络
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:

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

0

精彩评论

暂无评论...
验证码 换一张
取 消