cvs: phpdoc /en/reference/info ini.xml /en/reference/info/functions set-time-limit.xml
| From: | Derick Rethans | Date: | Wed, 14 May 2003 13:00:09 +0000 |
| Subject: | cvs: phpdoc /en/reference/info ini.xml /en/reference/info/functions set-time-limit.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969353451@lists.php.net to get a copy of this message | ||
derick Wed May 14 09:00:09 2003 EDT
Modified files:
/phpdoc/en/reference/info ini.xml
/phpdoc/en/reference/info/functions set-time-limit.xml
Log:
- Clarify safe mode & maximum execution time
Index: phpdoc/en/reference/info/ini.xml
diff -u phpdoc/en/reference/info/ini.xml:1.5 phpdoc/en/reference/info/ini.xml:1.6
--- phpdoc/en/reference/info/ini.xml:1.5 Thu May 1 17:52:57 2003
+++ phpdoc/en/reference/info/ini.xml Wed May 14 09:00:08 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<section id="info.configuration">
&reftitle.runtime;
&extension.runtime;
@@ -174,6 +174,11 @@
the <function>sleep</function> function, etc. Please see the
<function>set_time_limit</function> function for more
details.
+ </para>
+ <para>
+ You can not change this setting with <function>ini_set</function> when
+ running in &safe_mode;. The only workaround is to turn off safe mode or
+ by changing the time limit in the &php.ini;.
</para>
</listitem>
</varlistentry>
Index: phpdoc/en/reference/info/functions/set-time-limit.xml
diff -u phpdoc/en/reference/info/functions/set-time-limit.xml:1.3
phpdoc/en/reference/info/functions/set-time-limit.xml:1.4
--- phpdoc/en/reference/info/functions/set-time-limit.xml:1.3 Thu Feb 13 09:39:13 2003
+++ phpdoc/en/reference/info/functions/set-time-limit.xml Wed May 14 09:00:09 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/info.xml, last change in rev 1.72 -->
<refentry id="function.set-time-limit">
<refnamediv>
@@ -27,11 +27,13 @@
such as set_time_limit(20) is made, the script will run for a
total of 45 seconds before timing out.
</simpara>
- <simpara>
- <function>set_time_limit</function> has no effect when PHP is
- running in &safemode;. There is no workaround other than turning
- off safe mode or changing the time limit in the &php.ini;.
- </simpara>
+ <warning>
+ <para>
+ <function>set_time_limit</function> has no effect when PHP is
+ running in &safemode;. There is no workaround other than turning
+ off safe mode or changing the time limit in the &php.ini;.
+ </para>
+ </warning>
<note>
<para>
The <function>set_time_limit</function> function and the