2 ez Publish Versions On Same Machine

Author Message

Fátima Chapri

Saturday 07 March 2009 5:50:08 am

Hi,

I have ez Publish 3.9 running on windows, with the following environment:
- Apache 1.3
- MySQL 4.1
- php 4.4.7.7

I want to install ez Publish 4 on the same machine and maintain ezPublish old version.

Is it possible to to have both versions running on the same environment, but with a different version of php (because ez Publish 4 doesn't support php 4)?

Ivo Lukac

Saturday 07 March 2009 9:03:34 am

Hello,

You can install apache+PHP5 and configure it on non-standard port (standard port is 80 which probably is used by existing apache+php4).

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Fátima Chapri

Sunday 08 March 2009 8:44:29 am

Thanks a lot for your answer Ivo.

But is it possible to have two php versions and mysql version coexisting with the same Apache installation? I wanted to do that to avoid installing unnecessary things on the computer.

Ivo Lukac

Sunday 08 March 2009 10:10:49 am

That would be rather difficult, to have 1 apache with 2 different versions of PHP, maybe with some heavy hack. I don't recommend that.

As for mysql you can use one server and ahve 2 databases on it of course.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Gaetano Giunta

Sunday 08 March 2009 4:30:28 pm

The easiest way to have 2 different versions of php loaded into the same Apache server is probably to have one loaded as mod_php and the pther one as cgi. Of course the performances of the cgi version will be much worse, so you could try to set it up as fcgi instead. More details can be found at http://gggeek.altervista.org/2007/07/21/running-multiple-php-versions-on-a-single-apache-install/

If all you want is to avoid installing a different version of Apache, you can also run another instance of the server, on a different port, using the same binaries but with a different set of Apache configuration files.

Principal Consultant International Business
Member of the Community Project Board

Fátima Chapri

Monday 09 March 2009 12:59:28 pm

Ivo and Gaetano, thanks a lot for you help.

The article Gaetano suggested me to read is excellent and perfectly in accordance for what I need.

I will load php 4 as cgi and php 5 as mod_php.

:)

Ivo Lukac

Tuesday 10 March 2009 1:34:00 am

Well, we can learn something new ever day :)
Didn't know about this method...

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Jean-Yves Zinsou

Tuesday 10 March 2009 4:10:36 am

Hi Gaetano ,

I knew it was possible but i could not get a neat how to for it , this what i have been looking for !

Thanks !

Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 03:23:19
Script start
Timing: Jan 19 2025 03:23:19
Module start 'layout'
Timing: Jan 19 2025 03:23:19
Module start 'content'
Timing: Jan 19 2025 03:23:20
Module end 'content'
Timing: Jan 19 2025 03:23:20
Script end

Main resources:

Total runtime0.7485 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.2813152.6406
Module start 'layout' 0.00480.0028 741.921939.4922
Module start 'content' 0.00760.7395 781.4141674.3359
Module end 'content' 0.74700.0014 1,455.750020.1406
Script end 0.7484  1,475.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4244160.0002
Check MTime0.00120.1658160.0001
Mysql Total
Database connection0.00080.100910.0008
Mysqli_queries0.681591.0580760.0090
Looping result0.00080.1024740.0000
Template Total0.716995.820.3585
Template load0.00240.324520.0012
Template processing0.714595.459220.3572
Template load and register function0.00010.015810.0001
states
state_id_array0.00110.142610.0011
state_identifier_array0.00160.220220.0008
Override
Cache load0.00210.2781390.0001
Sytem overhead
Fetch class attribute can translate value0.00050.069140.0001
Fetch class attribute name0.00110.1481110.0001
XML
Image XML parsing0.00270.361540.0007
class_abstraction
Instantiating content class attribute0.00000.0036130.0000
General
dbfile0.00310.4097290.0001
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs