Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2016
    Location
    Hong Kong
    Posts
    2
    Plugin Contributions
    0

    red flag Call to undefined function: mysqli_connect(). Please install the MySQL Connector for

    I'm running Debian Buster, and recently found out PayPal isn't working for missing curl. I tried to install php-curl module, but no improvement. It still complained about the missing curl.

    Next I found out there were still some php5 packages, and ZenCart was using php5 instead if php7.3 which I also had installed. In fact php5-curl was installed all the time, as was php7.3-curl. I figured that's maybe causing a conflict, so I removed everything from php5 which is outdated anyway, hoping for some improvement, but no: now it says "Call to undefined function: mysqli_connect(). Please install the MySQL Connector for PHP", and the whole zencart stopped working.

    The module php-mysqli was installed already. I tried removing and re-installing it, but no improvement.

    My ZenCart was 1.5.5a, saying it's the latest version, but I found otu there's a newer version available that's written for php7.3. Great, I'd love to install this, trying to follow the instructions, but again it's stuck on claiming it misses the mysqli module, which is installed!

    Code:
    $ sudo apt-get install php-mysqli
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Note, selecting 'php7.3-mysql' instead of 'php-mysqli'
    php7.3-mysql is already the newest version (7.3.14-1~deb10u1).
    As a result not only have I lost PayPal payment method, the whole web site is currently down. What's going on??

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    1,691
    Plugin Contributions
    6

    Default Re: Call to undefined function: mysqli_connect(). Please install the MySQL Connector

    rest assured, it is not active for the version of php your website is currently running.

    can you create a phpinfo page? in your root directory create a file called info.php and put in:

    PHP Code:
    <?php
    phpinfo
    ();
    there you can see the version of php you are running and that mysqli is not running.

    have you tried restarting apache?

    Code:
    sudo service apache2 restart
    practice #socialdistancing #staysafe
    email is hard....
    help out with the green....

 

 

Similar Threads

  1. Replies: 4
    Last Post: 3 Sep 2018, 05:42 PM
  2. v154 Call to undefined function: mysqli_connect(). Please install the MySQL Connector
    By Jeff_Mash in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 2 Dec 2016, 12:02 AM
  3. v154 Call to undefined function: mysqli_connect(). Please install the MySQL Connector for
    By andybags in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 11 Oct 2016, 03:54 AM
  4. v153 Call to undefined function: mysqli_connect(). Please install the MySQL Connector for
    By nigelt74 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 14 Oct 2014, 07:36 AM
  5. Replies: 1
    Last Post: 8 May 2010, 04:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR