首页 » 默认不分类 » php超时怎么办

php超时怎么办

有可能是网络问题,可以延长超时时间限制, 或程序执行不了,这就要检查程序,如果是服务器资源完了一般会cgi error要重启下iis后试试.

php.ini 超时改的是这个参数
max_execution_time =
虚拟主机上这个配置我们当然改不到,可以在php页的顶部加入.
set_time_limit(0); 表示无限制
ini_set(“max_execution_time”, “18000″); 或用这个命令

,

转发到新浪微博 转发到新浪微博

目前这篇文章有6条评论(Rss)

  1. seo katalog | #1
    05/17/2012 at 07:16

    Thanks for your publication. I also feel that laptop computers have gotten more and more popular these days, and now in many cases are the only sort of computer utilized in a household. The reason being at the same time they are becoming more and more inexpensive, their processing power keeps growing to the point where these are as effective as personal computers out of just a few years back.

我要评论