php连接mysql“超过最大连接时间30秒”如何解决

如题所述

在PHP文件头部加入执行时间设置即可;如果设为0,则没有超时限制;
ini_set('max_execution_time',0);
温馨提示:答案为网友推荐,仅供参考
相似回答