PHP 5.2.X on Plesk 8.1.2 and RHE3

Support/Development for PHP
cincen
New Forum User
New Forum User
Posts: 2
Joined: Wed Oct 17, 2007 6:14 am

PHP 5.2.X on Plesk 8.1.2 and RHE3

Unread post by cincen »

Hello,

I currently have Plesk 8.1.2 on RHE and php 5.0.4 installed using your repository.

I would like to know how can I upgrade from php 5.0.4 to php 5.2.X because some of my applications require newer version of php.

I have browsed the repositories but could not find any packages for RHE3/Centos3

Would any other packages from diferent version of rhe/centos work?

Could anyone point me in the right direction?

Thanks.
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 wasn't able to make PHP 5.2.x for RHEL/CentOS3 due to all the other support packages that need to be updated for it. Packages for other distributions will not work on that platform.

Your best option here is really to upgrade to 4 or 5.
cincen
New Forum User
New Forum User
Posts: 2
Joined: Wed Oct 17, 2007 6:14 am

Unread post by cincen »

Thanks for your response .. So I can forget about upgrading via rpm's ... but...

Is it possible to compile Php 5.2.X from sources and that it works with plesk? ... server migration to RHE4-5 would require an OS reload hell
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, I suspect you'll also have to upgrade some support packages for it. Off the top of my head, that would probably be pcre to version 7+, and curl 7.9+, and sqlite to 3+.

Mysql you'd probably want to increase to 4.1 at least (not required) so you can use mysqli.
davej
Forum User
Forum User
Posts: 11
Joined: Tue Jun 27, 2006 7:20 am
Location: Bristol, UK
Contact:

Unread post by davej »

I have a Redhat ES3 server (not running Plesk) and have previously found your packages very useful for updating PHP, currently on 5.0.4 . I'm keen to update PHP to 5.1.4 or newer due to the Zend hash vulnerability. What's the latest version that doesn't present the upgrade problems that you mention in regard to 5.2.x ?

If, say, 5.1.4 or 5.1.6 is relatively unproblematic, would you consider elevating yourself still closer to sainthood by providing packages? I quite understand if not, but it would be useful to have your recommendation for a PHP version that's free from this vulnerability and not too much of a pain to install on ES3.

Many thanks,

Dave
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 »

ES3 is still supported by Red Hat, so I'd say the PHP packages by Red Hat should be safe. But I gather you want PHP 5.x and not PHP 4.3.2?

http://www.php.net/ChangeLog-5.php will tell you what is fixed in what version.
Lemonbit Internet Dedicated Server Management
davej
Forum User
Forum User
Posts: 11
Joined: Tue Jun 27, 2006 7:20 am
Location: Bristol, UK
Contact:

Unread post by davej »

Yes to both - as you say I'd expect Red Hat to have backported the fix, but we needed PHP 5.x .
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 »

Im kinda swamped right now (I havent even gotten 5.2.4 out) but if you catch me on IM I can give you some pointers on how to do it.
murzilkin
New Forum User
New Forum User
Posts: 2
Joined: Mon Feb 11, 2008 9:35 am

Re: PHP 5.2.X on Plesk 8.1.2 and RHE3

Unread post by murzilkin »

cincen wrote: I currently have Plesk 8.1.2 on RHE and php 5.0.4 installed using your repository.
.
Could you tell me please how to upgrade up to php 5.0.4 on CentOS 3? I did it fine for CentOS 4 by using this instruction: http://www.atomicorp.com/wiki/index.php/PHP. But for CentOS 3 it doesn't work. And I also need mysql5 for CentOS 3.

Any help is very appreciated!
Regards
Post Reply