MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: putude on 2016-02-14, 03:32:40

Title: Reinstall PHP
Post by: putude on 2016-02-14, 03:32:40
Hello Pak Mustafa,
I need some tips how to reinstall php 5.4.44 safely in kloxomr-7 without breaking the system.
using yum was failed.

-----------------
---> Package perl-MIME-Lite.noarch 0:3.027-2.el6 will be installed
--> Processing Dependency: perl(MIME::Types) >= 1.28 for package: perl-MIME-Lite                                 -3.027-2.el6.noarch
--> Processing Dependency: perl(Email::Date::Format) for package: perl-MIME-Lite                                 -3.027-2.el6.noarch
---> Package perl-Mail-DKIM.noarch 0:0.39-1.el5 will be an update
--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-Mail-DKI                                 M-0.39-1.el5.noarch
---> Package php54-common.x86_64 0:5.4.45-1.ius.el5 will be an update
--> Processing Dependency: libcurl.so.3()(64bit) for package: php54-common-5.4.4                                 5-1.ius.el5.x86_64
---> Package php54-imap.x86_64 0:5.4.45-1.ius.el5 will be an update
--> Processing Dependency: libc-client.so.1()(64bit) for package: php54-imap-5.4                                 .45-1.ius.el5.x86_64
---> Package php54-intl.x86_64 0:5.4.45-1.ius.el5 will be an update
--> Processing Dependency: libicuuc.so.36()(64bit) for package: php54-intl-5.4.4                                 5-1.ius.el5.x86_64
--> Processing Dependency: libicuio.so.36()(64bit) for package: php54-intl-5.4.4                                 5-1.ius.el5.x86_64
--> Processing Dependency: libicui18n.so.36()(64bit) for package: php54-intl-5.4                                 .45-1.ius.el5.x86_64
--> Processing Dependency: libicudata.so.36()(64bit) for package: php54-intl-5.4                                 .45-1.ius.el5.x86_64
---> Package php54-mcrypt.x86_64 0:5.4.45-1.ius.el5 will be an update
--> Processing Dependency: libltdl.so.3()(64bit) for package: php54-mcrypt-5.4.4                                 5-1.ius.el5.x86_64
---> Package php54-snmp.x86_64 0:5.4.45-1.ius.el5 will be an update
--> Processing Dependency: libnetsnmp.so.10()(64bit) for package: php54-snmp-5.4                                 .45-1.ius.el5.x86_64
--> Running transaction check
---> Package perl-Email-Date-Format.noarch 0:1.002-5.el6 will be installed
---> Package perl-MIME-Types.noarch 0:1.28-2.el6 will be installed
---> Package perl-Mail-DKIM.noarch 0:0.39-1.el5 will be an update
--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-Mail-DKI                                 M-0.39-1.el5.noarch
---> Package php54-common.x86_64 0:5.4.45-1.ius.el5 will be an update
--> Processing Dependency: libcurl.so.3()(64bit) for package: php54-common-5.4.4                                 5-1.ius.el5.x86_64
---> Package php54-imap.x86_64 0:5.4.45-1.ius.el5 will be an update
--> Processing Dependency: libc-client.so.1()(64bit) for package: php54-imap-5.4                                 .45-1.ius.el5.x86_64
---> Package php54-intl.x86_64 0:5.4.45-1.ius.el5 will be an update
--> Processing Dependency: libicuuc.so.36()(64bit) for package: php54-intl-5.4.4                                 5-1.ius.el5.x86_64
--> Processing Dependency: libicuio.so.36()(64bit) for package: php54-intl-5.4.4                                 5-1.ius.el5.x86_64
--> Processing Dependency: libicui18n.so.36()(64bit) for package: php54-intl-5.4                                 .45-1.ius.el5.x86_64
--> Processing Dependency: libicudata.so.36()(64bit) for package: php54-intl-5.4                                 .45-1.ius.el5.x86_64
---> Package php54-mcrypt.x86_64 0:5.4.45-1.ius.el5 will be an update
--> Processing Dependency: libltdl.so.3()(64bit) for package: php54-mcrypt-5.4.4                                 5-1.ius.el5.x86_64
---> Package php54-snmp.x86_64 0:5.4.45-1.ius.el5 will be an update
--> Processing Dependency: libnetsnmp.so.10()(64bit) for package: php54-snmp-5.4                                 .45-1.ius.el5.x86_64
--> Finished Dependency Resolution
Error: Package: php54-intl-5.4.45-1.ius.el5.x86_64 (mratwork-ius-archive)
           Requires: libicui18n.so.36()(64bit)
Error: Package: php54-intl-5.4.45-1.ius.el5.x86_64 (mratwork-ius-archive)
           Requires: libicuuc.so.36()(64bit)
Error: Package: php54-common-5.4.45-1.ius.el5.x86_64 (mratwork-ius-archive)
           Requires: libcurl.so.3()(64bit)
Error: Package: php54-imap-5.4.45-1.ius.el5.x86_64 (mratwork-ius-archive)
           Requires: libc-client.so.1()(64bit)
Error: Package: php54-intl-5.4.45-1.ius.el5.x86_64 (mratwork-ius-archive)
           Requires: libicudata.so.36()(64bit)
Error: Package: php54-mcrypt-5.4.45-1.ius.el5.x86_64 (mratwork-ius-archive)
           Requires: libltdl.so.3()(64bit)
Error: Package: php54-intl-5.4.45-1.ius.el5.x86_64 (mratwork-ius-archive)
           Requires: libicuio.so.36()(64bit)
Error: Package: php54-snmp-5.4.45-1.ius.el5.x86_64 (mratwork-ius-archive)
           Requires: libnetsnmp.so.10()(64bit)
Error: Package: perl-Mail-DKIM-0.39-1.el5.noarch (mratwork-epel)
           Requires: perl(:MODULE_COMPAT_5.8.8)
-------------

thank you for your help.

Title: Re: Reinstall PHP
Post by: MRatWork on 2016-02-14, 04:44:21
Better use 'phpXYm' (example php54m) instead 'php branch' for 'php used' in 'webserver configure'. Need install install 'multiple php install' (use 'sh /script/phpm-all-install' from ssh).
Title: Re: Reinstall PHP
Post by: MRatWork on 2016-02-14, 04:45:19
BTW, what's command to reinstall php 5.4.44?.
Title: Re: Reinstall PHP
Post by: putude on 2016-02-14, 05:34:53
Hello Pak Mustafa,

thank you for your response.
I try to search problem and found the problem.
After Googling, I found the old repo causing the problem ( I don't understand why it happen. As long as I remember, I've update it). I manually update it and now the problem solved.

Previously, I remove PHP54 manually. using "yum remove php54" and install php53 instead.

After solve the dependencies problem, I install PHP54 using kloxo panel.
Currently I still checking and searching for another error ( I hope no more error!).
Title: Re: Reinstall PHP
Post by: MRatWork on 2016-02-14, 05:46:15
Command 'yum remove php54' will remove php54 package but other package like php54-client still exists. This package (php54 package) only necessary if using ruid2 or suphp (need prefork mpm in apache).