Phpmyadmin missing mysqli extension

Discussion in 'Installation/Configuration' started by Bluesummer76, Feb 1, 2018.

  1. Bluesummer76

    Bluesummer76 New Member

    I follow the perfect server guide (debian 9) to install IspConfig.
    Everything works except phpmyadmin: missing mysqli extension.
    It's very strange because:
    >php -m | grep mysqli
    = mysqli

    > locate
    = /usr/lib/php/20151012/

    > phpinfo()
    addtional inifile: /etc/php/7.0/cgi/conf.d/20-mysqli.ini
    MysqlI Support: mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $
    mysqlnd API Extensions: mysql
    module MySQLi
    I've another server, the only difference is php version (5.6 vs 7), where everything works.
    Do you have any suggest?
    I tried to remove and reinstall phpmyadmin, php, mariadb.
    Thank you

    After 1 day, I found the solution.
    phpmyadmin was using php5 instead of php7.
    a2dismod php5
    a2enmod php7.0
    Last edited: Feb 1, 2018

Share This Page