Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 网站总是出现(Maximum execution time of 30 seconds)错误,无法访问

[复制链接]
fastman 发表于 2010-10-27 10:10:01 | 显示全部楼层 |阅读模式
Fatal error: Maximum execution time of 30 seconds exceeded in E:\home\common.php on line 7

网站总是出现这个错误,无法访问,请问大家有知道是什么原因吗。

PHP和mysql设置都是默认的哦。谢谢了!

dis.cuz. 发表于 2010-10-27 11:22:03 | 显示全部楼层
回复 fastman 的帖子

当系统数据库中的数据量大了后,用户访问请求时就出现了如下错误:
解决错误方法Fatal error: Maximum execution time of 30 seconds exceeded 出现这个错误如何解决?去哪里可以设置最大执行时间?答:
修改php.ini:
max_execution_time = 300 时间,然后重起服务
或者在程序写
set_time_limit(时间); //0为无限制
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-10-6 22:21 , Processed in 0.187298 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表