Re: Upgrade to PHP 4.2.3 or higher
On Mon, Feb 26, 2007 at 11:23:46AM -0500, Ed Curtis wrote:
>
> I currently use a Woody distrib as a web server. It's been very stable for
> me for a couple of years and I don't really want to dist-upgrade.
> Testing dist-upgrade with other testing servers mirroring this server has
> given less than desirable results.
>
> I would however like to upgrade to a higher version of php if at all
> possible. I don't need 5 yet. All I really need at this point is 4.2.3. I
> do also have GD and some other libs installed that work with my current
> version of php. Is there an easy way to upgrade without breaking
> everything?
>
> Thanks,
>
> Ed
>
>
I actually just helped a friend get his Sarge server to have updated
packages. Just Google "apt-pinning" (With or without quotes, doesn't
matter). I'd link you right to the page but I'm running a
terminal-only session right now (I have no idea how to actually
copy/paste URLs from terminal sessions).
Before you upgrade though, I would purge all php4 related packages
from your computer. I would also highly advise upgrading to Apache2
(If you don't have it already).
Keep in mind:
apt-get -t testing php5 libapache2-mod-php5
Is a lot safer than:
apt-get install php5/testing libapache2-mod-php5/testing.
Reply to: