Perfect Stretch mysqli php warning.

Discussion in 'ISPConfig 3 Priority Support' started by Turbanator, Aug 21, 2017.

  1. Turbanator

    Turbanator Member HowtoForge Supporter

    Have a Perfect Stretch apache2, mariadb setup. In researching a LE issue, I found a few of these earlier in the day
    PHP Warning: mysqli_query() expect parameter 1 to me mysqli, null given in /use/local/ispconfig/server/lib/classes/db_mysql.inc.php

    Looking at previous posts suggested to look at mysql passwords, but those fields are "" in db_mysql.inc.php...just like it is in my other servers.
    I then found that /etc/php/7.0/apache2/php.ini has ;extension=php_mysqli.dll commented out and there is no line for php_mysqli.so that I would expect.
    Should I uncomment it or is that for windows only?

    Any thoughts on the actual mysqli_query() problem?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    It might be that you installed PHP 7.1 instead of 7.0. Please post the output of:

    php --version
     
  3. Turbanator

    Turbanator Member HowtoForge Supporter

    PHP 7.0.19-1 (cli) (built: May 11 2017 14:04:47) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.19-1, Copyright (c) 1999-2017, by Zend Technologies
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, then this is probably harmless and can be ignored. If you have problems with LE, then please enable debug mode to see why the cert can not be created.
     

Share This Page