<!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>Reset the Apache write timer</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.apache-request-headers.html">apache_request_headers</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.apache-response-headers.html">apache_response_headers</a></div> <div class="up"><a href="ref.apache.html">Apache Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><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> <div class="refsect1 description" id="refsect1-function.apache-reset-timeout-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><strong>apache_reset_timeout</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> <span class="function"><strong>apache_reset_timeout()</strong></span> resets the Apache write timer, which defaults to 300 seconds. With <em>set_time_limit(0); ignore_user_abort(true)</em> and periodic <span class="function"><strong>apache_reset_timeout()</strong></span> calls, Apache can theoretically run forever. </p> <p class="para"> This function requires Apache 1. </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.apache-reset-timeout-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <strong><code>TRUE</code></strong> on success or <strong><code>FALSE</code></strong> on failure. </p> </div> <div class="refsect1 notes" id="refsect1-function.apache-reset-timeout-notes"> <h3 class="title">Notes</h3> <blockquote class="note"><p><strong class="note">Note</strong>: <span class="simpara">This function is disabled when PHP is running in <a href="features.safe-mode.html" class="link">safe mode</a>.</span></p></blockquote> </div> <div class="refsect1 seealso" id="refsect1-function.apache-reset-timeout-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.set-time-limit.html" class="function" rel="rdfs-seeAlso">set_time_limit()</a> - Limits the maximum execution time</span></li> <li class="member"> <span class="function"><a href="function.ignore-user-abort.html" class="function" rel="rdfs-seeAlso">ignore_user_abort()</a> - Set whether a client disconnect should abort script execution</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.apache-request-headers.html">apache_request_headers</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.apache-response-headers.html">apache_response_headers</a></div> <div class="up"><a href="ref.apache.html">Apache Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>