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:10:40

Author Topic: Your PHP installation appears to be missing the MySQL extension..  (Read 2530 times)

0 Members and 1 Guest are viewing this topic.

Offline teodorsavic

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
Last few days my server crashes and the following error appears on all my domains:
"Your PHP installation appears to be missing the MySQL extension which is required by WordPress." I reboot the server and everything starts working again until it crashes again.
Code: [Select]
# sh /script/sysinfo; cat /etc/my.cnf
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016051401
   - Web: hiawatha-10.2.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: ######################
C. Services:
   1. MySQL: MariaDB-server-10.0.25-1.el6.x86_64
   2. PHP:
      - Branch: php56u-cli-5.6.21-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.35-1.ius.el6
        * php56m-5.6.21-1.ius.el6
        * php70m-7.0.6-1.w6
      - Used: php56m
   3. Web Used: apache
     - Hiawatha: --unused--
     - Lighttpd: --uninstalled--
     - Nginx: nginx-1.10.0-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.18.mr.el6.x86_64
      - spam: spamassassin
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:         15638      15398        240          0         48      14540
   -/+ buffers/cache:        809      14829
   Swap:         8191          0       8191
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/md2       1008G  7.2G  950G   1% /


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

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

#
# This group is read both both by the client and the server
# use it for options that affect everything
#
[client-server]

#
# include all files from the config directory
#
!includedir /etc/my.cnf.d



When I do "sh /script/restart-all" it returns this, and Kloxo-MR becomes unavailable (
Error 503 - Service Unavailable
The server is currently unavailable (overloaded or down)
)

Code: [Select]
# sh /script/restart-all

Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
-------------------------------------------------------------------

*** Process for MYSQL/MARIADB service ***
Starting MySQL SUCCESS!
  - Process: restart
Shutting down MySQL.. SUCCESS!
Starting MySQL. SUCCESS!
No message for restart
-------------------------------------------------------------------

*** Process for BIND service ***
  - Process: restart
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
-------------------------------------------------------------------

*** Process for PHP-FPM service ***
  - Process: restart
Stopping php56m-fpm:                                       [  OK  ]
Starting php56m-fpm:                                       [  OK  ]
-------------------------------------------------------------------

*** Process for NGINX service ***
  - Process: restart
Stopping nginx:                                            [FAILED]
Starting nginx: nginx: [emerg] open() "/opt/configs/nginx/conf/globals/switch_standard_ssl.conf" failed (2: No such file or directory) in /opt/configs/nginx/conf/defaults/init.conf:61
                                                           [FAILED]
-------------------------------------------------------------------

*** Process for HTTPD service ***
  - Process: restart
Stopping httpd:                                            [FAILED]
Starting httpd:                                            [  OK  ]
-------------------------------------------------------------------

*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

Stopping pure-ftpd:                                        [  OK  ]
Starting pure-ftpd:                                        [  OK  ]
-------------------------------------------------------------------

*** Process for KLOXO service ***
  - Process: reload
Reloading kloxo-phpcgi:                                    [FAILED]
Reloading kloxo-hiawatha:                                  [  OK  ]
-------------------------------------------------------------------

- For help, type '/script/restart-all [--help|-h]'


After the reboot everything seems to be working again ( I can access Kloxo-MR panel etc.) but all the problem persist..

Any help?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Try change to 'hiawatha' or 'lighttpd' and then change back to 'nginx-proxy'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline teodorsavic

  • Valuable Member
  • *
  • Posts: 61
  • Karma: +0/-0
    • View Profile
I've already read the topic that was started awhile ago and tried that. Changed web server from apache to hiawatha ( in Switch Program) and all websites stopped working. Then I returned to apache and the websites started working again. I created the topic after that.

 


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

Page created in 0.043 seconds with 19 queries.

web stats analysis