The problem I found was that Plesk requires python 2.4 and Web2py
requires at least python 2.5. So one has to install python 2.5 or
higher (I use 2.6), and use this in parallel with the python 2.4. I
could get web2py working with the rocket server. I never did get it
working with Apache so I will b
I believe this is the OS's requirement, not Plesk's. Plesk itself has no
python parts and AFAIK uses mod_python to enable python for customer's
sites.
If you are, ie., using CentOS/RHEL 5.x, than stock python version is 2.4
and that's hard to upgrade due to some core systems depending on it, su
You can install Python 2.6 on CentOS by using the EPEL yum repository. It
will leave the system's Python 2.4 installation alone, since you don't want
to mess that up. The Python 2.6 name will then be "python26" instead of
just "python".
Ok, so if I install python 2.6 how do I tell apache, web2py, mod_wsgi
and/or mod_python to use the python2.6 version ?
would I change the first line in
wsgihandler.py
from
#!/usr/bin/env python
to
#!/usr/bin/env /usr/bin/python26
?
Il giorno 23/gen/2012, alle ore 10:09, peter ha scritto:
> The problem I found was that Plesk requires python 2.4 and Web2py
> requires at least python 2.5. So one has to install python 2.5 or
> higher (I use 2.6), and use this in parallel with the python 2.4. I
> could get web2py working with th
On 26.1.2012 20:11, Ben Tammetta wrote:
Ok, so if I install python 2.6 how do I tell apache, web2py, mod_wsgi
and/or mod_python to use the python2.6 version ?
If I remember right the only thing you need to do is install a 2.6
version of mod_wsgi.
Kenneth
7 matches
Mail list logo