Re: Devenix Live CD PHP4 and PHP5 problem
| From: | php at karsites dot net | Date: | Sun, 22 Jan 2006 22:35:59 +0000 |
| Subject: | Re: Devenix Live CD PHP4 and PHP5 problem | ||
| References: | 1 2 3 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16945@lists.php.net to get a copy of this message | ||
I'm not sure what apt-get is?
I'm running SuSE 9.2 Pete.
Using the original Apache2 & php4 from SuSE on port 80.
Downloaded the apache2-0-55 source code, and compiled that
with a --prefix=/usr/local/apache2-0-55 installation path.
Again, downloaded the php5 source code, and installed that
into a base installation directory --prefix=/usr/local/php5.
Then compiled php5 module using apache2-0-55's apxs tool.
Working with the original source code will give you the most
flexibility.
Keith
In theory, theory and practice are the same;
In practice they are not.
On Sun, 22 Jan 2006, Pete Savage wrote:
> To: php-install@lists.php.net
> From: Pete Savage <debug@silentkeystroke.co.uk>
> Subject: Re: [PHP-INSTALL] Devenix Live CD PHP4 and PHP5 problem
>
> php@karsites.net wrote:
> > Hi Peter.
> >
> > If you want to install php4 and php5 simultaneously, then I
> > suggest that you use two versions of apache2. One version
> > running on port 80 as standard with php4, and another
> > version running php5, on a different port than 80.
>
> That's not a problem at all, infact, that's the way I was going to do
> it. But my main problem is just installing both of them, using apt-get
> install php5 presents me with a "I'll just upgrade 4 to 5" message
>
> >
> > This way, there should be no conflicts with the php apache
> > modules. I don't think you can install php4 & php5 together
> > in one instance of Apache, due to Apache not knowing what
> > instance of php you are referring to in your php code.
> >
>
> Again This was exactly what I was going to do. Have two diffeernte port
> numbers to each version. Or two subdomains possibly.
>
>
> Pete
>
> > HTH
> >
> > Keith
> >
> > In theory, theory and practice are the same;
> > In practice they are not.
> >
> > On Sun, 22 Jan 2006, Pete Savage wrote:
> >
> >
> >>To: php-install@lists.php.net
> >>From: Pete Savage <debug@silentkeystroke.co.uk>
> >>Subject: [PHP-INSTALL] Devenix Live CD PHP4 and PHP5 problem
> >>
> >>Hi,
> >>This seemed like the most sensible place to start to ask for help. I'm
> >>currently working on Devenix, a project based on the knoppix live cd.
> >>It will eventually be a complete php design and test studio on a live
> >>cd, carry around a memory stick and save everything onto it, basically
> >>enabling you to work on any computer anywhere and get straight back to work.
> >>
> >>My PROBLEM is this. I need to install php4 and php5, my reasons? I
> >>want to make it a studio capable of assisting with code migration and
> >>testing from 4 to 5. php4 is already installed via the debian apt
> >>source. I initially tried installing php5 by compiling from clean
> >>source, but only ran into problems. I am now working on modifying the
> >>php5 source tar from the apt-sources to install into a different dir to
> >>avoid conflict with php4.
> >>
> >>I added the prefix line to the common configure line in the debian/rules
> >>file, but this screwed up the libapachemodule rebuild when i tried to
> >>rebuild the pacakge. Please any advice here would be greatly
> >>appreciated. And any people wishing to help on the project would be
> >>fantastic. There is no website yet, once this stumbling block is
> >>overcome, the ball will start rolling.
> >>
> >>Thanx
> >>
> >>Pete
> >>
> >>PS if you are interested in the project in any way,
> >>graphics/docs/development/maintenance, please let me know. I'd love to
> >>get an indication of how successful this project will be. I really want
> >>it to help out the php community.
> >>
> >
> >
> >
> >
>