PHP 5.1 on x86_64 FC4

Support/Development for PHP
kieranjones
Forum User
Forum User
Posts: 5
Joined: Tue Feb 27, 2007 7:28 pm

PHP 5.1 on x86_64 FC4

Unread post by kieranjones »

Hi,

I'm worried that I'm repeating a topic that already exists, but I've done some searching and nothing seems to exactly explain this to me, so I shall ask anyway.

I'm trying to upgrade my current PHP version (5.0.4) to something that is at least PHP 5.1 as MediaWiki insists that it requires a newer version to run and I need to use that piece of software.

I setup yum with the following repositories:

Code: Select all

[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/
enabled=1

[atomic-app-vault]
name=Atomic Rocket Turtle - $releasever - Atomic PSA App Vault RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/app-vault/
enabled=1

[psa-8.1]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 8.1 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-8.1/fedora/$releasever/$basearch/
enabled=1
And of course the default Fedora repositories. I figuired that was all I needed to do. When I went to upgrade the PHP version it just told me that there was nothing marked for update or obseletion.

I issued a general yum upgrade all and it again tells me that nothing is marked for update or obsoletion. How can nothing at all need updating? There surely must be something.

I had a look into 3es.atomicrocketturtle.com/atomic/psa-8.1/fedora/4/x86_64/ and can see various RPMs in there for PHP 5.1.4 so what can I not upgrade to them?

I am well confused, a little help would be greatly appreciated. I have probably just got the wrong end of the stick so hopefully the solution is simple!

Cheers in advance.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

I dont have any php packages for the x86_64 platform at this time. The plan is to release PHP 5.2.x, since CentOSplus is handling php 5.1 now. I should have packages soon, probably in the next week.
kieranjones
Forum User
Forum User
Posts: 5
Joined: Tue Feb 27, 2007 7:28 pm

Unread post by kieranjones »

Ahhh, ok then. It was just me with the wrong end of the stick then.

So what are the files in http://3es.atomicrocketturtle.com/atomi ... 6_64/RPMS/ about then?

And can it really be the case that there are no updates at all for anything on my server? That seems unlikely to me. I mean I've never run a yum update or anything so how can everything be up to date? Or is it that you have no x86_64 packages at all and that is why it is showing no updates available...
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

Like Scott said, he has not created any 64-bit rpms as of yet. The psa-8.1 64-bit rpms are there, but those are the rpms created by SWsoft, not by Scott.
Lemonbit Internet Dedicated Server Management
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Yeah, plus Fedora Core 4 was end of lifed back in december. So there wont be any more updates for it, except from 3rd party archives. You definitely want to look into migrating to some other platform.
kieranjones
Forum User
Forum User
Posts: 5
Joined: Tue Feb 27, 2007 7:28 pm

Unread post by kieranjones »

I have no real problems changing to a different environment, I am just not confident enough to actually do it without killing the server or something!

Plus I notice that your installer thing for CentOS which I guess is what you would recommend is not ok for 64-bit 1&1 servers yet?

I'd do it, but the server is hosting lots of websites that can't go offline for very long so I'd have to be able to make a server backup of Plesk, install the new OS then restore the Plesk data overnight or something. It really would need to work first time.

I'm open to suggestions! I enjoy a challenge :)
Fenice
Forum User
Forum User
Posts: 37
Joined: Thu Nov 23, 2006 5:36 pm

Unread post by Fenice »

I think updating Fedora Core to a newer version via yum should be really easy. Try look at the Fedora website; or if you want to use CentOs (another good choice), search more information in their wiki.

I did a couple of FC updates in the past via rpm, and they worked flawlessly.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

I just posted this in another thread, but short version is no, AOOI is not working on the x86_64 boxes yet.
dcollis
New Forum User
New Forum User
Posts: 3
Joined: Tue Apr 03, 2007 7:48 am

Unread post by dcollis »

Ok, i'm a little confused. Apologies in advance for re-asking questions that have no doubt already been answered.

Can I upgrade php to 5.1/5.2 on x86_64 FC4 (from 5.0.4)? Do the packages exist yet? Will they ever?
Oh i'm running plesk 8.1 as well.

I realise FC4 has been end-of-lifed, but I am extremely wary about re-imaging/re-installing due to server down-time and the fact that i'm not sure I can trust the plesk backup (I've heard multiple horror stories on the swsoft forums). I'd like some advice about this as well if anyone has any experience with this?
kieranjones
Forum User
Forum User
Posts: 5
Joined: Tue Feb 27, 2007 7:28 pm

Unread post by kieranjones »

Hi,

I don't think it's possible to upgrade the PHP to 5.1/5.2, I had the same issue and didn't want to upgrade to FC5 on a production server for fear of downtime and/or data loss.

But, I did lots of reading and thanks to this post (http://atomicrocketturtle.com/forum/vie ... php?t=1533) I found a really good guide that worked without any issues, I had to manually remove psa-autoinstaller because of a wierd dependency issue then install it again after the yum upgrade but otherwise it worked perfectly.

The server was unavailable for less than 30 minutes and I did it at night too so no one even noticed that.

Of course, make sure to do a full plesk backup and if you've got a 1&1 server you can then copy the file to the free FTP backup space you get with the server. I personally lost no data at all, but better safe than sorry.

I think that ugprading to FC5 or even FC6 now it is supported would be the best way of getting newer versions of PHP and the such.
dcollis
New Forum User
New Forum User
Posts: 3
Joined: Tue Apr 03, 2007 7:48 am

Unread post by dcollis »

Ok, thanks for that. I will look into the upgrade. In the meantime (I can't see me upgrading within the month) i'd still love to be able to install php5.1 or higher. So if anyone knows how I can do this, please let me know.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Centos w/ centosplus gets the turtle vote!
dcollis
New Forum User
New Forum User
Posts: 3
Joined: Tue Apr 03, 2007 7:48 am

Unread post by dcollis »

The centos install I am wary of too. It's still a complete re-install and I still don't trust the plesk backup. (Going to setup a test machine to test that out at somepoint).
My machine is a 1and1 Business I server - currently FC4 (64 bit), plesk 8.1.
I think I read that I could have problems with this setup when upgrading to fc5 or re-installing with centos. I guess its something I will have to do, but not until i've setup a few virtual machines with copies of my server on them and tried tested the upgrade paths as best as I can.

Scott- I take it that you replying here means there is definitely no way i'm going to get php 5.1+ on my machine until I upgrade then?
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

You could try this trick: http://forum.swsoft.com/showthread.php?threadid=41777

But I don't know if I would go with a setup like that. I'd spend my time on working out a migration to CentOS...
Lemonbit Internet Dedicated Server Management
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

I'm going to be producing PHP 5.2.x packages from here on out. I may come back to doing highfd versions of the default packages, which could result in some 5.1 packages if your platform (centos4/5, fc5, fc6, etc) supports it natively.
Post Reply