1.将php.ini中extension=php_mysql.dll前的;去掉。[如果不存在 则添加] 2.重启服务 转载于:https://www.cnblogs.com/xiaqiuchu/articles/10043655.html