Running multiple versions of Zope?
Is it possible/good-idea to run 2 different versions of Zope on the same server (using 2 different ports)? I have a Zope-1.10 application running on a RedHat 7.1 server installation (using ZHTTPserver listening to port 9673). It installed it's own Python (1.5.1, I think). The RedHat 7.1 installed 1.5.2. Can I install the current version of Zope and have it listen on a different port (and *I assume* using the system's 1.5.2 Python)? Also, where does Python v2.x fit into Zope? I'd like to start the process of rebuilding this old 1.10 application (that was dropped in my lap) using the current version of Zope and possibly (as someone suggested earlier) using MySQL instead of ZTables for the database info. Thanks for any replies. Darren earth_to_zope@space.com ___________________________________________________________________ Join the Space Program: Get FREE E-mail at http://www.space.com.
On Thursday 25 October 2001 10:56 am, earth_to_zope@space.com wrote:
Is it possible/good-idea to run 2 different versions of Zope on the same server (using 2 different ports)?
yes its possible, they don't need to share anything. i do this for development and testing.
I have a Zope-1.10 application running on a RedHat 7.1 server installation (using ZHTTPserver listening to port 9673). It installed it's own Python (1.5.1, I think). The RedHat 7.1 installed 1.5.2.
wow, i don't even know that you can find such an archaic system anymore other than checking out a cvs branch.
Can I install the current version of Zope and have it listen on a different port (and *I assume* using the system's 1.5.2 Python)?
yes. you need to be careful about what the python version requirements are, ie if 1.10 depends on py 1.5.1 and zope requires its probably easiest to install a different version of python into non-system directory and either create a user with a modified path to run a new version zope or explicitly compile the new zope with the full path to the new python. you can switch version of python zope is running in whatever shell script you use to start zope (start for a standard zope distro).
Also, where does Python v2.x fit into Zope?
zope 2.4 and above require python, below 2.4 (at least to 2.0?) work with python1.5.2
I'd like to start the process of rebuilding this old 1.10 application (that was dropped in my lap) using the current version of Zope and possibly (as someone suggested earlier) using MySQL instead of ZTables for the database info.
sounds like a good idea. hth
On Thu, Oct 25, 2001 at 10:56:49AM -0700, earth_to_zope@space.com wrote:
Is it possible/good-idea to run 2 different versions of Zope on the same server (using 2 different ports)?
Sure, no problem. Just use 2 ports.
I have a Zope-1.10 application running on a RedHat 7.1 server installation (using ZHTTPserver listening to port 9673). It installed it's own Python (1.5.1, I think). The RedHat 7.1 installed 1.5.2. Can I install the current version of Zope and have it listen on a different port (and *I assume* using the system's 1.5.2 Python)?
No problem, as long as you really do have two different python binaries on your system. Look at the "start" script in the base Zope directory. It'll say something like exec /usr/bin/python \ $INST_HOME/z2.py \ etc. Change the exec to point to the version of python you want to run with this Zope. That's all.
Also, where does Python v2.x fit into Zope?
I've used Python 2.1 with Zope 2.3.3 on my development box, and it seems to be OK - though I've had some odd refresh issues. I probably wouldn't do it on a production server. You get some warnings at startup about the deprecated "regex" module, but that's no problem. They are safe to ignore. Officially, Zope 2.4.x is the first series of Zope to support (and REQUIRE) Python 2.x. If you want python 2.x, use that.
I'd like to start the process of rebuilding this old 1.10 application (that was dropped in my lap) using the current version of Zope and possibly (as someone suggested earlier) using MySQL instead of ZTables for the database info.
I came along long after 1.10, but I've done a couple of minor Zope version updates and I often have two versions of Zope running to test things out during that process. -- paul winkler home: http://www.slinkp.com music: http://www.reacharms.com calendars: http://www.calendargalaxy.com
participants (3)
-
earth_to_zope@space.com -
kapil thangavelu -
Paul Winkler