Fatal error: Call to undefined function mysqli_connect()

前端 未结 14 779
面向向阳花
面向向阳花 2020-11-22 14:48

For 2 days now I\'m trying to solve this, but unfortunately no result. Let me tell you my story about the problem. I\'ve bulid an application on a site, and the application

14条回答
  •  有刺的猬
    2020-11-22 15:10

    On Raspberry Pi I had to install php5 mysql extension.

    apt-get install php5-mysql
    

    After installing the client, the webserver should be restarted. In case you're using apache, the following should work:

    sudo service apache2 restart
    

提交回复
热议问题