[Herefordshire] Re: Upgrading PHP on remote red hat server

Julian Robbins joolsr at fastmail.fm
Wed Feb 9 22:41:36 GMT 2005


Hi ben

I'm by no means an expert but a couple of comments :-

You would need to 'Upgrade' your rpm with the -u option not -i for install.

Generally the smaller than incremental cahnge the more likely taht 
something will not break! Going from 4.0.2 to 4.3 may be ok. Going up to 
a version 5 may be different. You may find that you have linked 
dependanicies too, ie php 4.3 may only work with apache vers 'X'. These 
days, 'yum' for redhat/fedora, 'apt-get', or 'urpmi' (Mandrake) can 
handle dependencies pretty well. If you do the old fashioned rpm -U then 
you will have to sort out dependencies (if any) yourself.

Regarding file locations, etc. If it's an rpm rolled for your particular 
distro, ie redhat, fedora and version level, it will be much more likely 
to be ok. If you goto rpmseek.net or rpm.pbone.net then you can select 
the rpm from the distro and specific version you have.

More importantly, if in doubt, on a production server, read the change 
log, and /or readme file. If there are changes to the structure (or a 
slight change in the config file) than its likely they will be 
documented fully.

Just in case, you should possibly consider making a backup or an 'image 
' of your Linux Distro installation. (like Norton Ghost).

I will be doing some imaging of disks during the next meeting with g4u - 
more details to follow...

Julian



Ben Stephens wrote:
> i've found an rpm called php-4.3.10-3.2.i386.rpm and put it on the
> server, if I type in
> 
> rpm -i php-4.3.10-3.2.i386.rpm
> 
> will that work?
> 
> Is it dangerous? Could it install things to the wrong place, or
> overwrite things it shouldn't, i'm not sure how standard the linux
> setup is on this box.
> 
> later,
> Ben
> 
> On Wed, 9 Feb 2005 09:07:09 +0000, Ben Stephens <foolfodder at gmail.com> wrote:
> 
>>Hi Guys,
>>I need to upgrade the php installation on a remote linux server and
>>don't really no where to start finding out what I need to know to do
>>this.
>>
>>The system has rpm v. 4.0.2 if that's any help but I have no idea how
>>to use this, or most of the rest of linuxy type stuff.
>>
>>Any help / ideas / pointers to places where I can find information
>>about this appreciated.
>>
>>Btw. I've got loads of gmail invites if anyone wants one.
>>
>>Ben
>>
> 
> 
> _______________________________________________
> Herefordshire mailing list
> Herefordshire at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/herefordshire



More information about the Herefordshire mailing list