php解决 mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysq
The mysql extension is deprecated and will be removed in the future: use mysq
翻译:
mysql_connect这个模块将在未来弃用,请你使用mysqli或者PDO来替代。
解决方法:
打开php.ini 配置文件把
display_errors = On
改为
display_errors = Off
改完之后重启服务就可以了。