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, 23:50:58

Author Topic: php mysql is not working  (Read 3131 times)

0 Members and 1 Guest are viewing this topic.

Offline marcus5914

  • Valuable Member
  • *
  • Posts: 59
  • Karma: +0/-0
    • View Profile
php mysql is not working
« on: 2014-08-12, 21:32:18 »
hi

i am getting this error

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

my phpinfo :http://project.hashtagsoftworks.com/vikas.php

System info

A. Kloxo-MR: 6.5.1.b-2014072901

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.38-1.ius.el6.x86_64
   2. PHP: php53u-5.3.28-5.ius.el6.x86_64
   3. Httpd: httpd-2.2.27-1.mr.e6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.7.b-1.mr.el6.x86_64
   6. Nginx: nginx-1.7.4-1.el6.ngx.x86_64
   7. Cache: --uninstalled--
   8. Dns: bind-9.8.2-0.23.rc1.el6_5.1.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          2048        390       1657          0          0        195
   -/+ buffers/cache:        195       1852
   Swap:         2000          1       1998

 


Offline marcus5914

  • Valuable Member
  • *
  • Posts: 59
  • Karma: +0/-0
    • View Profile
Re: php mysql is not working
« Reply #1 on: 2014-08-12, 21:59:25 »
Update : i fixed the problem by switching to only apache . now i got a another problem .

i had install a SSL certificate . but now i cant access https

Update 2 : port 443 is closed . i try to add in iptables . still cant access https

Update 3: Finally find the problem . it was varnish 

Update 4 :

If i use apache +varnish = no ssl support

if i use nginx proxy = getting mysql error


So please tell me how to fix mysql problem in nginx proxy
« Last Edit: 2014-08-13, 10:39:36 by marcus5914 »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php mysql is not working
« Reply #2 on: 2014-08-16, 07:30:22 »
Because using KLoxo-MR 6.5.1, use 'php used' as 'php53m' instead 'php-branch' in 'webserver configures'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline marcus5914

  • Valuable Member
  • *
  • Posts: 59
  • Karma: +0/-0
    • View Profile
Re: php mysql is not working
« Reply #3 on: 2014-08-16, 13:44:45 »
how to get SSL support on varnish ?

PS : No option for php53m in php-branch
« Last Edit: 2014-08-16, 14:06:46 by marcus5914 »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php mysql is not working
« Reply #4 on: 2014-08-17, 02:55:22 »
Need enable 'multiple php' in 'php configure' in server level.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.066 seconds with 22 queries.

web stats analysis