File: 7.html

package info (click to toggle)
ldapexplorer 1.17-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 420 kB
  • ctags: 258
  • sloc: php: 1,113
file content (51 lines) | stat: -rw-r--r-- 2,590 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

<html>
<head>
<title>LDAP: 7. Apache returns 'Maximum execution time exceeded in tree.php on line xxx'.</title>
<LINK REL="Stylesheet" TYPE="text/css" HREF="css/sgml-pub.css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="98%" cellspacing="0" cellpadding="0" bgcolor="#000066">
<tr bgcolor="#FFFFFF">
	<td width="145" valign="top"></td>
	<td valign="middle">
<table border="0" cellpadding="5"><tr><td><p><font size="+1" color="brown"><b>LDAP Explorer FAQ</b></font></p>
<p><font size="+2"><b>7. Apache returns 'Maximum execution time exceeded in tree.php on line xxx'.</b></font></p>
</td></tr></table></td></tr></table>

<p><font size="-1">
 <a href="index.html">[<b>Top</b>]</a> <a href="toc.html">[<b>Contents</b>]</a><br>
<a href="6.html">[<b>Prev:</b> 6. How to deal with temporary files - 'LE00*' on hard disk? They become more and more. And they are eating up a lot of space. ]</a><br><a href="8.html">[<b>Next:</b> 8. How to config Novell eDirectory Server to let LDAP Explorer can explore it?]</a>
</font></p>
<hr>
<DIV CLASS="doc-content">

<p>This problem happens while you are browsing a very large Directory Server tree or an entry with a lot of attributes. PHP is time out before apache finishes the session. </p>
<p>Here's a simple way to solve this problem. Change the variable 'max_execution_time' in PHP configuration file (e.g, /etc/php3/apache/php3.ini or /etc/php.ini) from default 30 (seconds) to 300.  Then restart apache server.</p>
<p>Another solution hinted by Sergio Ballestrero is using set_time_limit function. If the value is set to 0, no time limit is imposed while script is executed. </p>
</DIV>
<hr>

<p><font size="-1">
 <a href="index.html">[<b>Top</b>]</a> <a href="toc.html">[<b>Contents</b>]</a><br>
<a href="6.html">[<b>Prev:</b> 6. How to deal with temporary files - 'LE00*' on hard disk? They become more and more. And they are eating up a lot of space. ]</a><br><a href="8.html">[<b>Next:</b> 8. How to config Novell eDirectory Server to let LDAP Explorer can explore it?]</a>
</font></p>
<hr><!--#include virtual="/include/footer/footer-sgml-pub.htm"-->
<div class="authorblock">
<!--#config timefmt="%1e %B %Y" -->
<table border="0" width="98%" cellpadding="0" cellspacing="0">
<tr>
<td>
<pre>
Last Modified: 24 November 2000
</pre>
<address>
Maintained by: Terrence Miao <a href="mailto:terrence_miao@email.com">terrence_miao@email.com</a></address>
</td>
<td width="48" align="right"><img src="images/valid_html.4.0.gif" border="0" width="48" height="32" alt="[HTML 4.0 Checked!]"></a>
</td>
</tr>
</table></div>

</body>
</html>