如何解决致命错误:超过30秒的最大执行时间 [英] how to resolve Fatal error: Maximum execution time of 30 seconds exceeded

查看:109
本文介绍了如何解决致命错误:超过30秒的最大执行时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友



i在一张表中有近1300列,所以当数据输入并运行我的应用程序时我得到了这个错误



致命错误:第39行的G:\ xampp \htdocs \ GVA5-raj \ business-income-expensesed.php超过30秒的最长执行时间





i已经在php.ini中发生了变化max_execution_time = 360虽然遇到同样的问题



请给出一个解决方案这个







谢谢和问候



Mallesh

解决方案

1。你检查过phpinfo();所有参数都已实际更改?



2.此外,您可以尝试在运行时修改时间限制



  if (function_exists(  set_time_limit)== TRUE AND ini_get(  safe_mode)= = 0)
{
set_time_limit(300);
}





3.我认为表中有1300列可能表明系统设计可能需要重新分解或优化


Hi friends

i have nearly 1300 columns in a table so when data entered and run my application i got this error

Fatal error: Maximum execution time of 30 seconds exceeded in G:\xampp\htdocs\GVA5-raj\business-income-expensed.php on line 39


i have changed in php.ini max_execution_time = 360 eventhough getting same problem

please give a solution for this



Thanks & Regards

Mallesh

解决方案

1. Have you checked phpinfo(); that all parameters have been actually changed?

2. In addition you can try to amend time limit at runtime

if (function_exists("set_time_limit") == TRUE AND ini_get("safe_mode") == 0)
{
    set_time_limit(300);
}



3. I believe having 1300 columns in table could be a sign that system design might need re factoring or optimization.


这篇关于如何解决致命错误:超过30秒的最大执行时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆