Unable to install php-mysqli on PHP7

前端 未结 2 1231
南旧
南旧 2021-02-14 04:55

I have installed PHP 7, mysql5.7, Apache2.2, CentOS6.

And I\'m installing CodeIgniter3.0.6.

When I use database connection, error occured and said



        
2条回答
  •  伪装坚强ぢ
    2021-02-14 05:26

    For PHP7, on CentOS / RHEL:

    yum install php70w-mysql
    

    if you use the Remi repository

    yum install php70-php-mysqlnd
    

    for Ubuntu:

    apt-get install php7.0-mysql
    

提交回复
热议问题