MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: lenawaii on 2015-09-22, 18:10:22

Title: PHP do not work anymore after upgrade to php54
Post by: lenawaii 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

Title: Re: PHP do not work anymore after upgrade to php54
Post by: zenkul on 2015-09-22, 18:51:56
sh /script/restart-all -y
sh /script/fix-all
reboot
Title: Re: PHP do not work anymore after upgrade to php54
Post by: lenawaii 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?
Title: Re: PHP do not work anymore after upgrade to php54
Post by: MRatWork on 2015-09-23, 01:35:53
Try update from ssh with 'yum replace php53u --replace-with=php54'.
Title: Re: PHP do not work anymore after upgrade to php54
Post by: lenawaii 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 :-)