ID: 29107 Comment by: loye dot young at iycc dot net Reported By: bart at mediawave dot nl Status: Open Bug Type: Apache2 related Operating System: Win2k PHP Version: 4.3.7 New Comment:
If you have the PEAR Date package installed, this may be the problem: There is a command in a Pear function that tries to write information to the server. Some Windows installations and Unix servers with strict Safe Mode options enabled do not allow this. You can fix this yourself however. Open the file lib/pear/Date/TimeZone.php in a text editor. Go to line 247. You should be in a function named 'inDaylightTime()'. Add this line: return date("I"); at the very top of the function. It should now look like this: function inDaylightTime($date) { return date("I"); $env_tz = ""; if(getenv("TZ")) $env_tz = getenv("TZ"); putenv("TZ=".$this->id); $ltime = localtime($date->getTime(), true); putenv("TZ=".$env_tz); return $ltime['tm_isdst']; } This should stop the error. Perhaps in the future, the Pear team will supply a work around. See if that fixes it and let everyone know. Previous Comments: ------------------------------------------------------------------------ [2004-07-23 15:55:42] bart at mediawave dot nl I don't think that's my problem. I'm having the problem at my testing server where, most of the time, I'm the only client. So ,if persistent connections work like they should I guess, in my case, there's only one conection there. ------------------------------------------------------------------------ [2004-07-23 15:34:59] super_freax at hotmail dot com It says in the PHP-manual for child operations that : This means that for every child that opened a persistent connection will have its own open persistent connection to the server. For example, if you had 20 different child processes that ran a script that made a persistent connection to your SQL server, you'd have 20 different connections to the SQL server, one from each child. Note, however, that this can have some drawbacks if you are using a database with connection limits that are exceeded by persistent child connections. If your database has a limit of 16 simultaneous connections, and in the course of a busy server session, 17 child threads attempt to connect, one will not be able to. If there are bugs in your scripts which do not allow the connections to shut down (such as infinite loops), the database with only 16 connections may be rapidly swamped ====== So it might be the database that has no more connections left ? My Config is : WinXPProSP1 (NTFS Formatted) Apache version 2.0.49 MySQL 4.0.18 with MyODBC 3.51 and winMYSQLadmin 1.4 PHP 4.3.6 with Pear 1.3.1 ,Smarty 2.5.0 ,Zend Opt. 2.5.0 , Dbg 2.16.3, TCL 8.4.5 with TK 8.4 and Vtcl 1.6.0 ------------------------------------------------------------------------ [2004-07-13 12:57:28] bart at mediawave dot nl That didn't work. I still get the error. ------------------------------------------------------------------------ [2004-07-12 23:20:10] bart at mediawave dot nl I disabled some extenions. It seems to run stable now. ------------------------------------------------------------------------ [2004-07-12 12:32:49] bart at mediawave dot nl Description: ------------ This bug is very similar to bug #26286. Only, in my Apache error log it says: Parent: child process exited with status 3221225725 -- Restarting. Parent: Created child process 2968 Child 2968: Child process is running Child 2968: Acquired the start mutex. Child 2968: Starting 250 worker threads. Windows Event log: Application popup: apache.exe - Application Error : The exception unknown software exception (0xc00000fd) occurred in the application at location 0x01a1ce13. The problem occurs at random with UCCASS v1.04. I'm using XAMPP on Win2k (Apache/2.0.50 (Win32) mod_ssl/2.0.50 OpenSSL/0.9.7d PHP/4.3.7 MySQL 4.0.20a-debug-log) It seems there's a lot of feedback at bug #26286. Maybe that status should be changed to Open? More info: http://www.phprojekt.com/modules.php?op=modload&name=forum&file=index&kat=2&id=30946&action=writetext& Reproduce code: --------------- Win2K + XAMPP + UCCASS v1.04 (I wish I could be more specific) Expected result: ---------------- A page Actual result: -------------- Server hangs with Application popup: apache.exe - Application Error : The exception unknown software exception (0xc00000fd) occurred in the application at location 0x01a1ce13. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29107&edit=1