MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: glamoureindhoven on 2019-09-20, 16:03:06

Title: Error 500 - Internal Server Error after updating php to 7.3
Post by: glamoureindhoven on 2019-09-20, 16:03:06
Hi Mustafa,

I have recently updated php version of my centos 7 server:
Code: [Select]
[root@euve262125 ~]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2019070501
   - Web: hiawatha-10.9.0-f.2.mr.el7.x86_64
   - PHP: php56s - 5.6.36-1.ius.centos7 (fpm mode)
B. Plateform:
   - OS: CentOS Linux release 7.7.1908 (Core) x86_64
   - Hostname: euve262125.serverprofi24.net
C. Services:
   1. MySQL: MariaDB-server-10.0.38-1.el7.centos.x86_64
   2. PHP:
      - Installed:
        - Branch: php-cli-7.3.9-1.el7.remi.x86_64
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.9.0-f.2.mr.el7.x86_64
     - Lighttpd: lighttpd-1.4.54-1.el7.x86_64
     - Nginx: nginx-1.17.3-1.el7.ngx.x86_64
     - Apache: httpd24u-2.4.39-1.ius.centos7.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: djbdns
     - Bind: bind-9.9.9-1.mr.el7.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el7.x86_64
     - NSD: nsd-4.2.2-1.el7.x86_64
     - PowerDNS: pdns-4.1.11-1.el7.x86_64
     - Yadifa: yadifa-2.3.9-1.el7.x86_64
   6. Mail: qmail-toaster-1.03-1.3.57.mr.el7.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el7.x86_64
      - smtp: qmail-toaster-1.03-1.3.57.mr.el7.x86_64
      - spam: --uninstalled--
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.49-1.mr.el7.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.7-1.mr.noarch
D. Memory:
              total        used        free      shared  buff/cache   available
Mem:           4096         288        2789          52        1018        3706
Swap:          4096         113        3982
E. Disk Space:
Filesystem         Size  Used Avail Use% Mounted on
/dev/ploop36470p1   99G   75G   20G  80% /


*** Process Time: 00:00:01:03.63399 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

(https://i.imgur.com/JILKROi.jpg)
(https://i.imgur.com/rRJuQVq.jpg)

Thanks in advance!
Title: Re: Error 500 - Internal Server Error after updating php to 7.3
Post by: MRatWork on 2019-09-21, 10:15:04
Better disable php from remi and then re-change php to php 7.3. By default, Kloxo-MR using ius repo for php versions.
Title: Re: Error 500 - Internal Server Error after updating php to 7.3
Post by: glamoureindhoven on 2019-09-23, 00:47:14
Better disable php from remi and then re-change php to php 7.3. By default, Kloxo-MR using ius repo for php versions.
I've been trying this all day but without success, could you please send me link how to do this?

Thanks in advance Mustafa! :)
Title: Re: Error 500 - Internal Server Error after updating php to 7.3
Post by: glamoureindhoven on 2020-06-10, 18:14:13
I've got same issue again...

php73m error log
Quote
[09-Jun-2020 14:55:35 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'amqp.so' (tried: /opt/php73m/usr/lib/php/modules/amqp.so (librabbitmq.so.4: cannot open shared object file: No such file or directory), /opt/php73m/usr/lib/php/modules/amqp.so.so (/opt/php73m/usr/lib/php/modules/amqp.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[09-Jun-2020 14:55:35 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'amqp.so' (tried: /opt/php73m/usr/lib/php/modules/amqp.so (librabbitmq.so.4: cannot open shared object file: No such file or directory), /opt/php73m/usr/lib/php/modules/amqp.so.so (/opt/php73m/usr/lib/php/modules/amqp.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[09-Jun-2020 14:55:35 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'smbclient.so' (tried: /opt/php73m/usr/lib/php/modules/smbclient.so (libsmbclient.so.0: cannot open shared object file: No such file or directory), /opt/php73m/usr/lib/php/modules/smbclient.so.so (/opt/php73m/usr/lib/php/modules/smbclient.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[09-Jun-2020 14:55:35 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'smbclient.so' (tried: /opt/php73m/usr/lib/php/modules/smbclient.so (libsmbclient.so.0: cannot open shared object file: No such file or directory), /opt/php73m/usr/lib/php/modules/smbclient.so.so (/opt/php73m/usr/lib/php/modules/smbclient.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

php error:
Quote
[10-Jun-2020 13:29:57 UTC] PHP Warning:  PHP Startup: rrd: Unable to initialize module
Module compiled with build ID=API20131226,NTS
PHP    compiled with build ID=API20131226,TS
These options need to match
 in Unknown on line 0
[10-Jun-2020 13:29:57 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/twig.so' - /usr/lib64/php/modules/twig.so: undefined symbol: executor_globals in Unknown on line 0
[10-Jun-2020 13:29:57 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mongodb.so' - /usr/lib64/php/modules/mongodb.so: undefined symbol: executor_globals in Unknown on line 0

Mustafa did an update to php 7.3, but after reboot of my VPS i'm getting 500 internal server error, anyone know how to resolve this please?
Title: Re: Error 500 - Internal Server Error after updating php to 7.3
Post by: India220 on 2020-06-14, 05:50:34
send me your login details,
or you can follow below screenshot.
https://prnt.sc/szc4tn

1. Select PHP Used 7.2m [my suggestion] and click update
2. Select PHP Branch 7.2w and click update
3. Enable Multiple PHP branch and click update
4. Select all the Multiple PHP Available to Selected field and click update [takes 30min or more to to install]