Hi Hannes, Thank you very much! The fix appears to be working! Looks like I had been going at it all wrong - the error complains about the constant, maybe you should look into how your constants are constructed/registered! I had been looking at memory leaks or execution time and other PHP/Apache config options/knobs and went nowhere. Let me educate myself more on PHP constants!
Thank you for the pull request - let me do some more testing and will merge accordingly. Thanks for the contribution! Really appreciate the help. Have a nice day, -Stanley On Tue, Oct 6, 2015 at 6:21 PM, Hannes Magnusson <hannes.magnus...@gmail.com > wrote: > On Mon, Oct 5, 2015 at 4:27 PM, Stanley Cheung <stanleyche...@google.com> > wrote: > > Hi Pecl-dev, > > > > I am a developer for the gRPC PHP extension > > <https://pecl.php.net/package/grpc> and run into an issue when the > > extension is being used behind Apache. Are there any experts here that > can > > help me debug this further? > > > You were absolutely on the right track. > > During request shutdown (RSHUTDOWN) everything that isn't persisted in > one way or another is cleaned up. > This includes constants -- unless they've been registered as > CONST_PERSISTENT. > > See: https://github.com/grpc/grpc/pull/3685 > > -Hannes >