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-27, 16:23:11

Author Topic: [ASK] Web Sering Missing MySQL Extension  (Read 1929 times)

0 Members and 1 Guest are viewing this topic.

Offline jamalrahmat

  • Valuable Member
  • *
  • Posts: 64
  • Karma: +0/-0
    • View Profile
[ASK] Web Sering Missing MySQL Extension
« on: 2016-06-04, 06:40:02 »
Selamat siang Pak Mustafa...

Bertanya kembali karena web sering saja mati.

Status: Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

Penyebab:

1. Web mati jika menjalankan restart-services.

Jika di reboot atau di restart-web maka kembali seperti semula.

2. Setelah web jalan kembali pasti nanti beberapa jam kemudian pasti mati kembali sehingga harus restart-web maupun di reboot.

Kira-kira ada salah dimana ya?

Status:
- Ada 2 klien dengan settingan resource plan unlimited semua.
- Status PHP-FPM
Code: [Select]
*** Process for PHP-FPM service ***
  - Process: restart
Stopping php-fpm (PHP Used):                               [  OK  ]
Starting php-fpm (PHP Used):                               [  OK  ]
-------------------------------------------------------------------

dir: cannot access /opt/php*m/usr/bin/php: No such file or directory
*** No 'multiple PHP' execute because no conf files ***
-------------------------------------------------------------------
- Status PS AUX MySQL
Code: [Select]
mysql    25577  0.1  8.5 422752 89744 pts/0    Sl   00:53   0:00 /usr/sbin/mysql
sysinfo:
Code: [Select]
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016060305
   - Web: hiawatha-10.2.0-f.7.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: s2.hostingbanua.com
C. Services:
   1. MySQL: MariaDB-server-10.0.25-1.el6.x86_64
   2. PHP:
      - Branch: php70w-cli-7.0.7-1.w6.x86_64
      - Used: --Use PHP Branch--
   3. Web Used: nginxproxy
     - Hiawatha: --unused--
     - Lighttpd: --uninstalled--
     - Nginx: nginx-1.11.1-1.el6.ngx.x86_64
     - Httpd: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   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.19.mr.el6.x86_64
      - spam: bogofilter
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        669        354         44          0        404
   -/+ buffers/cache:        264        759
   Swap:          512          0        511
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       75G  3.9G   72G   6% /

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [ASK] Web Sering Missing MySQL Extension
« Reply #1 on: 2016-06-04, 07:14:43 »
Sebaiknya anda pilih 'php54' di 'php branch' (alias dikembalikan ke semula). Kemudian pilih 'php70m' di 'php used'. Ini artinya webserver pakai 'php70m' sebagai default php.

Perlu diingat tidak/belum semua applikasi compatible dengan php 7.0. Sebaiknya pilih php 5.4 - php 5.6 saja.

Anda bisa atur setiap website pakai versi php yang berbeda-beda. Tentunya harus mengikuti 'ketentuan' tertentu.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.029 seconds with 18 queries.

web stats analysis