Source of: /manual/en/function.apache-reset-timeout.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.apache.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'function.apache-reset-timeout.php',
1 => 'apache_reset_timeout',
),
'up' =>
array (
0 => 'ref.apache.php',
1 => 'Apache Functions',
),
'prev' =>
array (
0 => 'function.apache-request-headers.php',
1 => 'apache_request_headers',
),
'next' =>
array (
0 => 'function.apache-response-headers.php',
1 => 'apache_response_headers',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="function.apache-reset-timeout" class="refentry">
<div class="refnamediv">
<h1 class="refname">apache_reset_timeout</h1>
<p class="verinfo">(PHP 5 >= 5.1.0)</p><p class="refpurpose"><span class="refname">apache_reset_timeout</span> — <span class="dc-title">Reset the Apache write timer</span></p>
</div>
<a name="function.apache-reset-timeout.description"></a><div class="refsect1 description">
<h3 class="title">Description</h3>
<div class="methodsynopsis dc-description">
<span class="type">bool</span> <span class="methodname"><b>apache_reset_timeout</b></span>
( <span class="methodparam">void</span>
)</div>
<p class="para rdfs-comment">
<b>apache_reset_timeout()</b> resets the Apache write timer,
which defaults to 300 seconds. With <i>set_time_limit(0);
ignore_user_abort(true)</i> and periodic
<b>apache_reset_timeout()</b> calls, Apache can theoretically
run forever.
</p>
<p class="para">
This function requires Apache 1.
</p>
</div>
<a name="function.apache-reset-timeout.returnvalues"></a><div class="refsect1 returnvalues">
<h3 class="title">Return Values</h3>
<p class="para">
Returns <b><tt class="constant">TRUE</tt></b> on success or <b><tt class="constant">FALSE</tt></b> on failure.
</p>
</div>
<a name="function.apache-reset-timeout.notes"></a><div class="refsect1 notes">
<h3 class="title">Notes</h3>
<blockquote><p><b class="note">Note</b>: <span class="simpara">This function is disabled when PHP is running in <a href="features.safe-mode.php" class="link">safe mode</a>.</span></p></blockquote>
</div>
<a name="function.apache-reset-timeout.seealso"></a><div class="refsect1 seealso">
<h3 class="title">See Also</h3>
<p class="para">
</p><ul class="simplelist">
<li class="member"><a href="function.set-time-limit.php" class="function" rel="rdfs-seeAlso">set_time_limit()</a> - Limits the maximum execution time</li>
<li class="member"><a href="function.ignore-user-abort.php" class="function" rel="rdfs-seeAlso">ignore_user_abort()</a> - Set whether a client disconnect should abort script execution</li>
</ul><p>
</p>
</div>
</div><?php manual_footer(); ?>