Re: [web2py] Re: web2py with Plesk Control Panel ?

2012-01-27 Thread Kenneth Lundström
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

[web2py] Re: web2py with Plesk Control Panel ?

2012-01-26 Thread Ben Tammetta
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 ?

[web2py] Re: web2py with Plesk Control Panel ?

2012-01-26 Thread Ben Tammetta
would I change the first line in wsgihandler.py from #!/usr/bin/env python to #!/usr/bin/env /usr/bin/python26 ?

[web2py] Re: web2py with Plesk Control Panel ?

2012-01-23 Thread peter
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

Re: [web2py] Re: web2py with Plesk Control Panel ?

2012-01-23 Thread Roberto De Ioris
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 the

[web2py] Re: web2py with Plesk Control Panel ?

2012-01-23 Thread LightDot
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,

[web2py] Re: web2py with Plesk Control Panel ?

2012-01-23 Thread Ross Peoples
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.