[mod_python] Changing the default interpeter

Eric Strand estrand at isomedia.com
Wed Sep 30 14:48:08 EDT 2009


It is not settable w/in mod_python.

You will need to install mod_python from source, explicitly configuring 
it to use Python 2.5.  Check out the README within the source code for 
mention of the --with-python configuration argument.

--Eric


Bruce Ford wrote:
> I need to ensure Apache is using the system path python (/usr/bin/env
> python) and not /usr/bin/python.  I have a requirement to use a more
> up-to-date python is a web app (2.5) than the system default python
> (2.4).  Is this setable within mod_python?
> 
> (Setting /usr/bin/python to link to python 2.5 breaks many RHEL functions.)
> 
> My server is a RHEL 5 machine.
> 
> I appreciate any info.
> 
> Bruce
> 
> ---------------------------------------
> Bruce W. Ford
> Clear Science, Inc.
> bruce at clearscienceinc.com
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
> 



More information about the Mod_python mailing list