On Apr 10, 1:54 am, Peter Rowell <[EMAIL PROTECTED]> wrote:
> > This means that a python version has to be selected before the PythonPath
> > directive is processed.
>
> "Selected" is not quite the right way to think of it.mod_pythonhas
> the Python interpreter linked in at build time, not run time. To
> change which version you have, you need to rebuildmod_python.
>
> If you are root on this machine:
>
> cd mod_python_directory
> make distclean
> ./configure <other options> --with-python=/path/to/desired/python
> make
> make install

Additionally, that version of 'python' executable must be that which
is found in PATH when Apache is run otherwise it may calculate the
wrong Python library location. If not, need to set PYTHONHOME in
environment Apache uses when run to appropriate Python prefix setting.

Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to