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-28, 23:38:07

Author Topic: The MySQL adapter mysqli is not available  (Read 4383 times)

0 Members and 1 Guest are viewing this topic.

Offline Chicken2nd

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
The MySQL adapter mysqli is not available
« on: 2016-04-16, 10:06:48 »
"Application Instantiation Error: The MySQL adapter mysqli is not available"
Every day, Sometimes my vps will display this error. I must run restart-web to solve this. May you have any solutions MR?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: The MySQL adapter mysqli is not available
« Reply #1 on: 2016-04-16, 12:15:21 »
Better inform 'sh /script/sysinfo' together with asking.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Chicken2nd

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: The MySQL adapter mysqli is not available
« Reply #2 on: 2016-04-16, 13:04:10 »
This is my vps info:
Quote
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016040705
   - Web: hiawatha-10.1.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname:
C. Services:
   1. MySQL: --uninstalled--
   2. PHP:
      - Branch: php56w-cli-5.6.20-1.w6.x86_64
      - Used: --Use PHP Branch--
   3. Web Used: nginx
     - Hiawatha: --unused--
     - Lighttpd: --uninstalled--
     - Nginx: nginx-1.9.14-1.el6.ngx.x86_64
     - Httpd: --uninstalled--
       - PHP Type: php-fpm_event
   4. WebCache: varnish
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: varnish-3.0.7-1.el6.x86_64
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
      - spam: bogofilter
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          7871       1416       6454          0        125        514
   -/+ buffers/cache:        776       7094
   Swap:        16383          0      16383

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: The MySQL adapter mysqli is not available
« Reply #3 on: 2016-04-16, 13:08:02 »
So, install 'multiple php' and then select 'php56m' in 'php used'. Better change back 'php branch' to 'php54' with 'yum replace php56w-cli --replace-with=php54-cli' (change from panel may not work).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Chicken2nd

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: The MySQL adapter mysqli is not available
« Reply #4 on: 2016-04-17, 04:12:19 »
Why for that MR? PHP version higher is not stable?

Offline Chicken2nd

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: The MySQL adapter mysqli is not available
« Reply #5 on: 2016-04-17, 04:16:28 »
When replace....
Code: [Select]
Error Downloading Packages:
  php54-fpm-5.4.45-1.ius.el6.x86_64: failure: php54-fpm-5.4.45-1.ius.el6.x86_64.rpm from mratwork-ius-archive: [Errno 256] No more mirrors to try.
  php54-cli-5.4.45-1.ius.el6.x86_64: failure: php54-cli-5.4.45-1.ius.el6.x86_64.rpm from mratwork-ius-archive: [Errno 256] No more mirrors to try.
  php54-embedded-5.4.45-1.ius.el6.x86_64: failure: php54-embedded-5.4.45-1.ius.el6.x86_64.rpm from mratwork-ius-archive: [Errno 256] No more mirrors to try.
  php54-gd-5.4.45-1.ius.el6.x86_64: failure: php54-gd-5.4.45-1.ius.el6.x86_64.rpm from mratwork-ius-archive: [Errno 256] No more mirrors to try.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: The MySQL adapter mysqli is not available
« Reply #6 on: 2016-04-17, 06:22:35 »
Try 'yum clean all; yum update -y' before 'yum replace'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Chicken2nd

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: The MySQL adapter mysqli is not available
« Reply #7 on: 2016-04-17, 08:10:10 »
No i think we will change php used after replace brand php5.6 by php 5.4 will be safer. Of course reboot for changing.

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.077 seconds with 19 queries.

web stats analysis