|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-09-21 02:26 UTC] kalle@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 16:00:02 2025 UTC |
Description: ------------ 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: [PHP_APC] extension=php_apc.dll apc.enabled=1 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: --------------- <?php 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'); $form->display(); ?> 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