Page 1 of 2

Updating PHP 5.0.4 to 5.2.3 [SOLVED Thanx!!!]

Posted: Fri Aug 10, 2007 1:48 pm
by edge
hey...

my info :
Plesk version psa v8.2.0_build82070706.15 os_FedoraCore 4
Operating system Linux 2.6.9-022stab070.9-enterprise

I have been trying to update my php using
wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh

yum update php

all seems to go well then I get this...

Install 7 Package(s)
Update 21 Package(s)
Remove 0 Package(s)
Total download size: 31 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID #######
Public key for autoconf-2.59-5.noarch.rpm is not installed
Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora (0x
########) is already installed


The GPG keys listed for the "Fedora Core 4 - i386 - Base" repository are already installed but they are not correct for this package.


I have searched the forums here and @ sWsoft but have found
nothing to fix the issue.

I also wend to the fedora site looking for gpg keys or a way to update the key but have had no luck...


At the moment Im running a VPS but I have to manage it. Its great in some ways but considering Im a bit of a nooob its a littly tricky at times lol...
My host wants to charge me alot to do the upgrade to the newer php and mysql but Im broke, and would rather learn how to do this...

Any help would be greatly appreciated...
Thanx in advance

:D

Posted: Fri Aug 10, 2007 5:35 pm
by exi1ed0ne
Correct me if I'm wrong, but you can't upgrade packages in a VPS - Virtual private server. It isn't a real box, just a shared "image" of one.

Posted: Fri Aug 10, 2007 8:08 pm
by edge
well theres managed and unmanaged vps servers... I have to manage
my own...

in some ways its great but in situations like this its a pain in the butt...

I need to install APC cache but have to update my php to do it...

Posted: Sat Aug 11, 2007 9:09 am
by exi1ed0ne
So you rent/own a real physical server that you slice up into separate VPS servers? Or do you just rent a single VPS?

Posted: Sat Aug 11, 2007 12:27 pm
by edge
I rent a single vps...

Its pretty sweet actually...

GenuineIntel, Intel(R) Xeon(TM) CPU 3.20GHz
8 gigs of ram
only 20gb of storage but I dont really use more
and 1000gb monthly bandwidth

and its just me and 1 other vps on this server... Though I did have to
ask to be put on a different vps when I got it - because the loads were
to high for my liking... So they put me on this box...

if I could only get php and mysql updated I would be a very happy man...

Posted: Sat Aug 11, 2007 12:37 pm
by exi1ed0ne
Then the hosting provider manages the master image of your VPS, of which your piece is a "virtual" read only copy of their setup. Not much you can do about adding updated packages without them changing their master image to include them.

Posted: Sat Aug 11, 2007 12:56 pm
by edge
I totally hear what your saying and its my thought exactly...

but when I email or call them they always say I have to manage it...
That includes php and mysql...

I do have full root in ssh and all the normal directories are there just as in a dedicated box. And the atomic sh will go thru its paces when trying
yum update or yum update php. But it then asks to update the key from
fedora.com y/N
I tried Y and it gave me that error above

I tried N and of course it ends the update...

I have a support ticked in to them asking them to update fedore to 5,6 or 7
or if I can, get CentOS...
any of those would have mysql 5 and a newer version of php already installed...
Hopefully I will be able to do yum updates as well...

I was hoping someone here may know of a way to manually get install/upload a key that would fix this issue...

Posted: Sat Aug 11, 2007 2:29 pm
by exi1ed0ne
Actually, I don't think that you understand. You can't do anything to the OS in a VPS. That is why they are cheaper than a real server, and why I'll never rent one. If you need specialized versions that are different than the master VPS image, you are better off with real hardware. You will never be able to change or update any packages in a VPS so that it is different from the master image. Never. You have the freedom to tweak the install (change some lines in php.ini for example), but not change it.

Managed vs unmanaged is a totally separate issue.

Posted: Sat Aug 11, 2007 3:20 pm
by edge
If you read my 2nd post you would know that I have to manage the server 100%

I understand what your saying, but this server is not set up in that way...
I wish it was then I could get the host to do the updates...

It is a Unmanaged setup as far as software goes... I have to do any and all updates needed, as well as my own trouble shooting...
They do Nothing...

If I cant get the atomic package to run I need to find another way to do
the, update php and update sql...

I wish plesk had these options in the updater... 8)

Posted: Sat Aug 11, 2007 4:29 pm
by exi1ed0ne
I did read your post. You don't manage the host packages in a VPS environment. You are stuck with what they put in the VPS master image. You manage the configuration options of those packages, NOT the packages themselves. To do that the people you rent from need to update the VPS master image, which would update those packages for all the other VPS customers on that physical box.

Bottom line: You need a physical host to do what you want.

Posted: Sat Aug 11, 2007 5:25 pm
by edge
Then explain to me why my host continues to state that I am required to update my php and sql???

Posted: Sat Aug 11, 2007 7:01 pm
by exi1ed0ne
No clue.

Posted: Sun Aug 12, 2007 2:42 pm
by scott
I suspect its because they dont realize that the VPS has had the updaters removed.

Posted: Sun Aug 12, 2007 7:18 pm
by edge
scott wrote:I suspect its because they dont realize that the VPS has had the updaters removed.

Yea thats what I'm starting to think lol...

I just got off the phone with them for the 4th time in like 3 days and they
still say its up to me to do the updates...

"me wants to choke them"

Well Thanx for the help anyway guys... ;)

Posted: Mon Aug 13, 2007 5:53 am
by breun
You'll probably want to install yum. Well, actually you probably want them to install yum, but if at least rpm is installed you should be able to do it yourself.