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-05-13, 00:42:22

Author Topic: KloxoMR 6.5 and 7.0 Can't change PHP Branch  (Read 2220 times)

0 Members and 1 Guest are viewing this topic.

Offline teodorsavic

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
KloxoMR 6.5 and 7.0 Can't change PHP Branch
« on: 2015-02-16, 09:58:37 »
Hi!
I've setup two dedicated servers and installed CentOS 6.6 both of them. On the first one I installed Kloxo-MR 6.5.0.f-2015010801 and on the other I installed Kloxo-MR 7.0.0.b-2015021501. On the first one, (KloxoMR 6.5) the server breaks when I try to change the PHP Branch to 5.4 in Webserver Config and on the second one (KloxoMR 7.0) I can't change it at all.
What do I need to do in order to change the PHP version?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: KloxoMR 6.5 and 7.0 Can't change PHP Branch
« Reply #1 on: 2015-02-16, 20:06:28 »
From ssh, run 'sh /script/php-branch php54' (or 'yum replace php53u --replace-with=php54') and then test with 'php -v'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline teodorsavic

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Re: KloxoMR 6.5 and 7.0 Can't change PHP Branch
« Reply #2 on: 2015-02-21, 03:54:02 »
Ok, I changed the PHP branch in Webserver Settings from 5.3 to 5.4 and I got the  500 Internal Server Error on all websites. I ran:

sh /script/fixweb;
service php-fpm restart;
service httpd restart;

And everything started working fine.
I wrote everything since it may be useful to somebody.

Thank you very much.

 


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

Page created in 0.029 seconds with 19 queries.

web stats analysis