Ask Error Pada PHP ...........

Discussion in 'VPS (Virtual Private Server)' started by HadiRuz, 24 May 2013.

Thread Status:
Not open for further replies.
  1. HadiRuz

    HadiRuz Poster 2.0

    Messages:
    141
    Likes Received:
    6
    Trophy Points:
    18
    Halo temen2

    Saya ada klien install web Pake CMS moodle tetapi muncul error setelah Install:
    PHP has not been properly configured with the MySQLi extension so that it can communicate with MySQL. Please check your php.ini file or recompile PHP. MySQLi extension is not available for PHP 4.

    Padahal saya sudah menggunakan
    php 5.3.21
    cpanel
    mysql 5.1.68

    ada yang sudah mengalami dan ada solusi...?
    makasih sebelumny
     
  2. kudahitamnet

    kudahitamnet Poster 2.0

    Messages:
    177
    Likes Received:
    65
    Trophy Points:
    28
  3. dpnux

    dpnux Expert 1.0

    Messages:
    455
    Likes Received:
    28
    Trophy Points:
    28
    Trobleshoot dulu, mas:

    Buat file coba.php di komputer mas, dan isinya adalah sebagai berikut

    PHP:
    <?php

    phpinfo
    ();
    kemudian upload dan jalankan melalui browser. Cari kata mysql, apakah ada mysqli extension?

    Kalau bisa masuk ke shell, jalankan

    Code:
    php -m | grep -i mysql
    
    apakah ada mysqli?

    Karena ini subforum VPS, saya asumsi mas punya kendali penuh terhadap CPanel, maka lakukan rebuild EasyApache dan buka exhaustive options list untuk menambah fungsi mysqli.

    Semoga membantu dan salam terasi udang :)
     
  4. HadiRuz

    HadiRuz Poster 2.0

    Messages:
    141
    Likes Received:
    6
    Trophy Points:
    18
  5. HadiRuz

    HadiRuz Poster 2.0

    Messages:
    141
    Likes Received:
    6
    Trophy Points:
    18
    Sudah saya coba proses itu lewat easyapache dan di centang esble mysqli, tapi tetep aja, gimana ya?
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...