Re: Easiest Way to Upgrade PHP

From: Date: Tue, 01 May 2001 21:16:02 +0000
Subject: Re: Easiest Way to Upgrade PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-51021@lists.php.net to get a copy of this message
"K Old" <kevsurf@hotmail.com> wrote: > Hello all, > > Quick question. I'm wondering what the easiest way to upgrade PHP is? > For instance, right now I have PHP 3 installed on a RH6.1 box and > would like to upgrade to the latest version. Even though it was > installed using RPMs can I use the tar.gz and build it to apply the > upgrade? And then for each release after that just build it manually > (I assume it will overwrite whatever needs to be "upgraded")? I dont think you can mix rpms and tgz's, for example if you use an apache rpm you need some header files to get php going (if you want to compile php as an apache module). It might be better to remove the old rpm first and then install the new php from tgz where the old rpm places it's files (don't know where that is on redhat maybe /usr/local) so you dont break something, but it might be better to change all rpms connected to php to tgzs. Yes after that you will be able to overwrite exsisting php versions. -- Henrik Hansen

« previous php.general (#51021) next »