Forums / Install & configuration / 2 ez Publish Versions On Same Machine

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

eZ debug

Timing: Jan 19 2025 00:16:15
Script start
Timing: Jan 19 2025 00:16:15
Module start 'content'
Timing: Jan 19 2025 00:16:17
Module end 'content'
Timing: Jan 19 2025 00:16:17
Script end

Main resources:

Total runtime1.3962 sec
Peak memory usage4,096.0000 KB
Database Queries213

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 587.8516180.8203
Module start 'content' 0.00561.1806 768.6719679.4297
Module end 'content' 1.18620.2100 1,448.1016340.4375
Script end 1.3962  1,788.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.2940210.0002
Check MTime0.00160.1110210.0001
Mysql Total
Database connection0.00060.045510.0006
Mysqli_queries1.310793.87262130.0062
Looping result0.00250.17572110.0000
Template Total1.364097.720.6820
Template load0.00200.141120.0010
Template processing1.362097.549620.6810
Template load and register function0.00020.012710.0002
states
state_id_array0.00170.118310.0017
state_identifier_array0.00280.201120.0014
Override
Cache load0.00170.1244390.0000
Sytem overhead
Fetch class attribute can translate value0.00130.092850.0003
Fetch class attribute name0.00120.0839110.0001
XML
Image XML parsing0.00200.143750.0004
class_abstraction
Instantiating content class attribute0.00000.0019130.0000
General
dbfile0.00310.2240400.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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