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-18, 14:42:26

Author Topic: PHP do not work anymore after upgrade to php54  (Read 4153 times)

0 Members and 1 Guest are viewing this topic.

Offline lenawaii

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +0/-0
    • View Profile
PHP do not work anymore after upgrade to php54
« on: 2015-09-22, 18:10:22 »
Hi everyone,

I had to upgrade PHP from php53 to php54 and now PHP is not working anymore.

I did the upgrade from Kloxo > Web - Mail -Database > Webserver Config > Php Branch choosed php54 in the select menu and then click on "update"

After that I did:
# yum update
# sh /script/cleanup

Even after update and cleanup, php is not working, any idea ?

Here is below my system info:

A. Kloxo-MR: 6.5.0.f-2015083001

B. OS: CentOS release 6.7 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.45-1.ius.el6.x86_64
   2. PHP: php54-5.4.45-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
   7. Dns: bind-9.9.7-1.mr.el6.x86_64

D. Php-type (for Httpd/proxy): mod_php_ruid2

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          4096        924       3171          8          0        717
   -/+ buffers/cache:        206       3889
   Swap:            0          0          0


Offline zenkul

  • Global Moderator
  • Master
  • *****
  • Posts: 383
  • Karma: +3/-0
    • View Profile
    • home & decor
Re: PHP do not work anymore after upgrade to php54
« Reply #1 on: 2015-09-22, 18:51:56 »
sh /script/restart-all -y
sh /script/fix-all
reboot
easy, secure and speed up web panel ===> Kloxo-MR

Offline lenawaii

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +0/-0
    • View Profile
Re: PHP do not work anymore after upgrade to php54
« Reply #2 on: 2015-09-23, 00:39:12 »
Thanks for your help but it did not work :-(

I still have the same problem, php code is not executed.

Instead of having "hola" in my web page I have "<?php echo 'hola'; ?>"

another idea?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: PHP do not work anymore after upgrade to php54
« Reply #3 on: 2015-09-23, 01:35:53 »
Try update from ssh with 'yum replace php53u --replace-with=php54'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline lenawaii

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +0/-0
    • View Profile
Re: PHP do not work anymore after upgrade to php54
« Reply #4 on: 2015-09-23, 02:21:55 »
Thank you, its worked !!!

it was so a mess in my kloxo after many tries, so I finally did:

# yum update
# sh /script/upcp
# sh /script/cleanup
# sh /script/restart-all
# yum replace php53u --replace-with=php54
# service httpd restart

thank you so much for help, I love this forum & Mustapha :-)

 


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

Page created in 0.028 seconds with 19 queries.

web stats analysis