uTools-Manuals/docs/php/apache_reset_timeout.html
2019-04-28 19:00:34 +08:00

59 lines
2.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>重置 Apache 写入计时器</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.apache-reset-timeout" class="refentry">
<div class="refnamediv">
<h1 class="refname">apache_reset_timeout</h1>
<p class="verinfo">(PHP 5 &gt;= 5.1.0, PHP 7)</p><p class="refpurpose"><span class="refname">apache_reset_timeout</span> &mdash; <span class="dc-title">重置 Apache 写入计时器</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.apache-reset-timeout-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>apache_reset_timeout</strong></span>
( <span class="methodparam">void</span>
) : <span class="type">bool</span></div>
<p class="para rdfs-comment">
<span class="function"><strong>apache_reset_timeout()</strong></span> 重置 Apache 写入计时器,
缺省为 300 秒. 通过 <em>set_time_limit(0);
ignore_user_abort(true)</em> 和定期地调用
<span class="function"><strong>apache_reset_timeout()</strong></span>Apache理论上可永远运行
</p>
<p class="para">
此函数需要 Apache 1.
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.apache-reset-timeout-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
成功时返回 <strong><code>TRUE</code></strong> 或者在失败时返回 <strong><code>FALSE</code></strong>
</p>
</div>
<div class="refsect1 notes" id="refsect1-function.apache-reset-timeout-notes">
<h3 class="title">注释</h3>
<blockquote class="note"><p><strong class="note">Note</strong>: <span class="simpara">当 PHP 运行在 <a href="features.safe_mode.html" class="link">安全模式</a> 时,不能使用此函数。</span></p></blockquote>
</div>
<div class="refsect1 seealso" id="refsect1-function.apache-reset-timeout-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="set_time_limit.html" class="function" rel="rdfs-seeAlso">set_time_limit()</a> - 设置脚本最大执行时间</span></li>
<li class="member"><span class="function"><a href="ignore_user_abort.html" class="function" rel="rdfs-seeAlso">ignore_user_abort()</a> - 设置客户端断开连接时是否中断脚本的执行</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>