Re: APC/Apache2

From: Date: Mon, 27 Jun 2005 17:54:07 +0000
Subject: Re: APC/Apache2
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-2492@lists.php.net to get a copy of this message
> I just tried building current current APC CVS HEAD against the lattest > Apache2-prefork with current PHP-5.1 CVS HEAD and everything worked fine. prefork, it's not thread enabled that's why you don't have the problem as i say, php do not initize builtin_functions for user classes === for apache2-mpm-worker, thread enabled CG(class_entry) is no longer initized by 0 at first, which is more likely trigger the crash. some malloc calls return memory full of 0 but sometimes not. try enable maintainer zts, and modify php-src to have memset -1 at where ***_globals is allocated i haven't tried but i'm sure, as i disabled the code for builtin_functions and get it very stable. thanks for Rasmus to bring us the APC === for nonthread: CG(class_entry).builtin_functions is cleared to 0 by compiler, as it's true global variable but internal class still might override CG(class_entry).builtin_functions and apc start to crash for new user class

« previous php.pecl.dev (#2492) next »