- sudo apt-get install php7.2-mysql //版本号肯能不一样
- sudo dpkg-reconfigure php7.2-mysql
- sudo /etc/init.d/mysql restart
- sudo /etc/init.d/apache2 restart
相关文章
- PHP Fatal error: Call to undefined function think\finfo_open()
- PHP Fatal error: Uncaught Error: Call to undefined function pcntl_fork().. 开启php pcntl扩展实现多进程
- Fatal error: Call to a member function read() on a non-object in 错误解决方法
- Fatal error: Uncaught Error: Call to undefined function mysqli_connect()
- Fatal error: Call to undefined function mysql_connect()
- php链接sql server报错Fatal error: Call to undefined function mssql_connect()
- 在线等,谢谢大家了!!!!Fatal error: Call to undefined function mssql_connect() in
- PHP Fatal error: Call to undefined function sqlsrv_connect()
- Fatal error: Call to undefined function sqlsrv_connect()
- php5连接mysql5 报错 Fatal error: Call to undefined function mysql_connect() Google搜索了3天了,没结果