Page 1 of 1
PHP 5.2.X on Plesk 8.1.2 and RHE3
Posted: Wed Oct 17, 2007 6:24 am
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.
Posted: Wed Oct 17, 2007 8:23 am
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.
Posted: Wed Oct 17, 2007 12:01 pm
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
Posted: Wed Oct 17, 2007 1:57 pm
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.
Posted: Thu Oct 18, 2007 8:00 am
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
Posted: Thu Oct 18, 2007 9:52 am
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.
Posted: Thu Oct 18, 2007 10:18 am
by davej
Yes to both - as you say I'd expect Red Hat to have backported the fix, but we needed PHP 5.x .
Posted: Thu Oct 18, 2007 10:42 am
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.
Re: PHP 5.2.X on Plesk 8.1.2 and RHE3
Posted: Thu Feb 28, 2008 9:22 am
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