Re: debugging APC - bit over my head; clue desired

From: Date: Tue, 03 Jan 2006 16:41:27 +0000
Subject: Re: debugging APC - bit over my head; clue desired
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-21369@lists.php.net to get a copy of this message
Jochem Maas wrote:
a while back I was asking about APC - I have a problem with php seghfaulting when I use APC _and_ turn on the opcode cache (apc_store() and apc_fetch() work very well - I'm sticking _lots_ of 'ResultSet' objects in there for instance and it works very nicely)
Note that caching arrays is way faster than caching objects, so if at all possible, convert your ResultSet object to an associative array before storing it. To fix your segfault I'll need a short PHP script that reproduces the problem. On one hand I bet an <?php echo "hello world"?> script doesn't crash it, and on the other you have whatever code you are running that does. Step up from Hello World slowly until it starts crashing and send me that. -Rasmus

« previous php.internals (#21369) next »