PHP ERROR

Discussion in 'Installation/Configuration' started by Romain, Dec 31, 2017.

  1. Romain

    Romain New Member

    Hi!:(

    Running the update I'm getting this error:
    PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /tmp/update_stable.sh.SqErbhuff5/ispconfig3_install/install/update.php:234

    Stack trace:

    #0 {main}

    thrown in /tmp/update_stable.sh.SqErbhuff5/ispconfig3_install/install/update.php on line 234

    and with:

    /usr/local/ispconfig/server/server.sh

    31.12.2017-14:15 - WARNING - There is already a lockfile set, but no process running with this pid (16570). Continuing.

    PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:79

    Stack trace:

    #0 /usr/local/ispconfig/server/lib/app.inc.php(46): db->__construct()

    #1 /usr/local/ispconfig/server/lib/app.inc.php(208): app->__construct()

    #2 /usr/local/ispconfig/server/server.php(51): require('/usr/local/ispc...')

    #3 {main}

    thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 79

    PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:79

    Stack trace:

    #0 /usr/local/ispconfig/server/lib/app.inc.php(46): db->__construct()

    #1 /usr/local/ispconfig/server/lib/app.inc.php(208): app->__construct()

    #2 /usr/local/ispconfig/security/check.php(32): require('/usr/local/ispc...')

    #3 {main}

    thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 79

    Any idea how to fix that issue?

    Many thanks.
     
    Last edited: Dec 31, 2017
  2. Taleman

    Taleman Active Member HowtoForge Supporter

    Is this ISPConfig update with ispconfig_update.sh ?
    What is the operating system, version and what is PHP version? Have You modified PHP installation or settings?
     
  3. Romain

    Romain New Member

    Yes with ispconfig_update.sh
    Debian 9, PHP 7.0. I was using PHP 5.6 previously.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The mysqli extension in your PHP installation is missing. Install it and then run the update again.
     

Share This Page