|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-05-29 10:18 UTC] solace at ezmail dot ru
Description:
------------
This bug was reported some time ago, was closed, but still exists. I wrote profiler class and posted on phpclasses. And people all over the world start to ask me why their apache crashes.
At least if you can't fix it, then mention in documention that ticks are only for non-windows platforms and console php (works fine from command line, crashes only sapi).
Reproduce code:
---------------
<?
register_tick_function("doesn't matter");
declare(ticks=1);
?>
Actual result:
--------------
crash
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 19:00:02 2025 UTC |
The bug still exists. Code is: <?php declare(ticks=1); register_tick_function('tick_handler'); die(); ?> apache access log is empty, error log is the following: httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.5 for ServerName [Fri Jan 13 02:19:27 2012] [notice] Apache/2.2.21 (Win32) PHP/5.2.17 configured -- resuming normal operations [Fri Jan 13 02:19:27 2012] [notice] Server built: Sep 9 2011 10:26:10 [Fri Jan 13 02:19:27 2012] [notice] Parent: Created child process 5196 httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.5 for ServerName httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.5 for ServerName [Fri Jan 13 02:19:27 2012] [notice] Child 5196: Child process is running [Fri Jan 13 02:19:27 2012] [notice] Child 5196: Acquired the start mutex. [Fri Jan 13 02:19:27 2012] [notice] Child 5196: Starting 64 worker threads. [Fri Jan 13 02:19:27 2012] [notice] Child 5196: Starting thread to listen on port 80. [Fri Jan 13 02:19:36 2012] [notice] Parent: child process exited with status 3221225477 -- Restarting. httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.5 for ServerName [Fri Jan 13 02:19:36 2012] [notice] Apache/2.2.21 (Win32) PHP/5.2.17 configured -- resuming normal operations [Fri Jan 13 02:19:36 2012] [notice] Server built: Sep 9 2011 10:26:10 [Fri Jan 13 02:19:36 2012] [notice] Parent: Created child process 5880 httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.5 for ServerName httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.5 for ServerName [Fri Jan 13 02:19:36 2012] [notice] Child 5880: Child process is running [Fri Jan 13 02:19:36 2012] [notice] Child 5880: Acquired the start mutex. [Fri Jan 13 02:19:36 2012] [notice] Child 5880: Starting 64 worker threads. [Fri Jan 13 02:19:36 2012] [notice] Child 5880: Starting thread to listen on port 80. Software versions: PHP Version 5.2.17 Apache Version: Apache/2.2.21 (Win32) PHP/5.2.17 OS: Windows XP Home Edition 2002 SP3