MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Development => Topic started by: insanity on 2014-02-26, 15:05:34

Title: can't install php52
Post by: insanity on 2014-02-26, 15:05:34
yum install php52

Error: Package: php52-cli-5.2.17-6.ius.centos5.x86_64 (mratwork-ius-c5)
           Requires: libcurl.so.3()(64bit)
Error: Package: php52-5.2.17-6.ius.centos5.x86_64 (mratwork-ius-c5)
           Requires: libcurl.so.3()(64bit)

I don't want to use secondary php because it is with php-cgi  :-\
How to replace 5.3 with 5.2 ?
Title: Re: can't install php52
Post by: zenkul on 2014-02-26, 15:22:38
do you try ?
yum replace php53u --replace-with=php52

Title: Re: can't install php52
Post by: insanity on 2014-02-26, 15:42:23
I try everything.
php52 need libcurl.so.3 eg: 7.15.5-17.el5.
As i see centos6 not support libcurl.3 but only libcurl.4

So if we can't install 5.2 on centos 6 why there is an option for this ?
Title: Re: can't install php52
Post by: MRatWork on 2014-02-26, 16:19:59
By default, Centos 6 already include php 5.3 where 5.3 have different requires compare to 5.2.

Secondary Php using Php52 (special php) where serve by Kloxo-MR and compile for Centos 5 and 6. Sadly, Php52 not include php-embedded (php for httpd module and we know as mod_php).

That it.
Title: Re: can't install php52
Post by: insanity on 2014-02-26, 16:21:43
Okay i have site that i need to run on 5.2 but not on php-cgi ( secondary kloxo php ). How to do that?
I need to install centos 5 to be able to run 5.2 ?
Title: Re: can't install php52
Post by: MRatWork on 2014-02-26, 18:46:50
Look like php52 have the same problem like php53s (special php 5.3 for Kloxo-MR 6.5.1).

May conflict if install php52 but possible ok if install php52-cli instead php52 package. Without php52 package, you can not use mod_php_ruid2 for apache. Only possible suphp, php-fpm or fcgid (that mean using php-cgi instead php binary).