MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: azzureal on 2017-03-22, 02:36:01

Title: Module 'pdo_mysql' already loaded
Post by: azzureal on 2017-03-22, 02:36:01
As you said, I am using php 7 from web_featured on base php 5.6.


However, the following error appears.



A PHP Error was encountered

Severity: Core Warning

Message: Module 'pdo_mysql' already loaded

Filename: Unknown

Line Number: 0

Backtrace:


How to solve it?
Title: Re: Module 'pdo_mysql' already loaded
Post by: MRatWork on 2017-03-22, 04:11:00
Try update Kloxo-MR 7 with 'yum clean all; yum update -y' and then don't forget run 'sh /script/cleanup'
Title: Re: Module 'pdo_mysql' already loaded
Post by: azzureal on 2017-03-22, 05:32:41
I tried all. but the same.

. Services:
   1. MySQL: MariaDB-server-10.0.30-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.30-1.ius.el6.x86_64
        - Multiple:
          * php52m-5.2.17-102.mr.el6
          * php53m-5.3.29-1.ius.el6
          * php54m-5.4.45-1.ius.el6
          * php55m-5.5.38-1.ius.el6
          * php56m-5.6.30-1.ius.el6
          * php70m-7.0.16-1.w6
          * php71m-
      - Used: php56m-fpm
      - Multiple: enable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.5.0-f.2.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.45-1.el6.x86_64
     - Nginx: nginx-1.11.11-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: none
     - Bind: --uninstalled--
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
Title: Re: Module 'pdo_mysql' already loaded
Post by: MRatWork on 2017-03-22, 05:43:20
Try 'sh /script/phpm-updater -y'.
Title: Re: Module 'pdo_mysql' already loaded
Post by: MRatWork on 2017-03-22, 05:47:13
Make sure using kloxomr7-7.0.0.c-2017032001. See 'yum list installed kloxomr7' or 'sh /script/version-full'.
Title: Re: Module 'pdo_mysql' already loaded
Post by: azzureal on 2017-03-22, 07:25:39
[root@localhost ~]#                    sh /script/version-full
7.0.0.c-2017032001

Thanks
Title: Re: Module 'pdo_mysql' already loaded
Post by: MRatWork on 2017-03-22, 07:31:42
Go to 'admin > php module status' and then you can set disable/enable modules. Don't forget click 'restart' icons before finish.
Title: Re: Module 'pdo_mysql' already loaded
Post by: azzureal on 2017-03-22, 08:33:55
Not solved.

And I got 500 error from php info of 70m assigned domain after cleanup.

Title: Re: Module 'pdo_mysql' already loaded
Post by: MRatWork on 2017-03-22, 09:12:01
If website running well under php56 but error under php70, maybe any module exists in php65 but not exists in php70.