|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57366 Timeouts with HTML_QuickForm
Submitted: 2006-11-09 15:09 UTC Modified: 2011-09-18 13:08 UTC
From: mjh at hodginsmedia dot com Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.2.0 RC4 OS: Windows 2000 Server
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: mjh at hodginsmedia dot com
New email:
PHP Version: OS:


 [2006-11-09 15:09 UTC] mjh at hodginsmedia dot com
Windows 2000 Server SP4
Apache 2.2.3 (running via console)
APC version 5.2.0 (php_apc.dll 2006-09-25 10:09:49)
PHP Version 5.2.1-dev 

On first load, the sample code runs fine and generates a simple form.  Reload again, and you'll get a long pause followed by this timeout error:

If I turn off APC, then PEAR's HTML_QuickForm runs fine.

The relevant section of PHP.INI looks like:

Only the php_mysqli.dll and php_mysql.dll extensions are loaded in addition to APC.

If I can provide you with any further information, please let me know.

Reproduce code:
require_once 'HTML/QuickForm.php';
$form = new HTML_QuickForm();
$form->addElement('header', null, 'Form Example');
$form->addElement('text', 'my_search', 'Search for:');
$form->addElement('submit', null, 'Submit');

Expected result:
A simple form from HTML_QuickForm

Actual result:
Fatal error: Maximum execution time of 30 seconds exceeded in C:\PHP\PEAR\HTML\QuickForm.php on line 290


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-21 02:26 UTC]
Any possibility that you can generate a trace to see where the execution hangs? Does this happen on other platforms than Windows?
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Aug 17 07:05:44 2022 UTC