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