Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-26, 16:21:20

Author Topic: Reinstall PHP  (Read 3853 times)

0 Members and 1 Guest are viewing this topic.

Offline putude

  • Valuable Member
  • *
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Reinstall PHP
« 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.


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Reinstall PHP
« Reply #1 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).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Reinstall PHP
« Reply #2 on: 2016-02-14, 04:45:19 »
BTW, what's command to reinstall php 5.4.44?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline putude

  • Valuable Member
  • *
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: Reinstall PHP
« Reply #3 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!).

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Reinstall PHP
« Reply #4 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).
« Last Edit: 2016-02-14, 05:55:59 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.044 seconds with 19 queries.

web stats analysis