LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Apache/PHP4 and Apache2/PHP5 in the same Ubuntu box (https://www.linuxquestions.org/questions/linux-server-73/apache-php4-and-apache2-php5-in-the-same-ubuntu-box-605417/)

oozypal 12-08-2007 11:53 AM

Apache/PHP4 and Apache2/PHP5 in the same Ubuntu box
 
I already have Apache 1.34 with PHP4 running. How can I install
Apache2 with PHP5. Then have web1 to run from Apache 1 and web2 to run
from Apache2. It sounds like one of those final exams questions :).

bmarx 12-08-2007 12:13 PM

Seems like a strange thing to be doing, but you could try running another system in a virtual machine that only runs apache.

oozypal 12-08-2007 12:55 PM

You are absolutely right but I have to. I will explain.

I do web development using a CMS called eZ Publish. Now, they release a new version that only needs PHP5. See this note from their site:

Quote:

Note that eZ Publish 3.6.x and lower do not run on PHP 4.4. eZ Publish versions 3.7.x and higher in the 3.x series will run only on PHP 4.4. eZ Publish versions 4.x need PHP 5.
Too confusing!!!

I have few project running projects in version 3.9 and I am planing to do the next project in eZP 4.

Hope things is clear now. :)

JSkywalker 12-08-2007 01:47 PM

you can setup VirtualHost-ing ?

I mean 2 VirtualHosts on your apache 1.34,
The 1st wil run your normal site
The 2nd should be forwarded to Apache 2.0

(of course you can not run Apache2.0 on port 80, but you can do it on i.e. 8080)


All times are GMT -5. The time now is 10:19 AM.