Re: PHP extension disappeared after running a few times behind Apache
| From: | Hannes Magnusson | Date: | Wed, 07 Oct 2015 01:21:28 +0000 |
| Subject: | Re: PHP extension disappeared after running a few times behind Apache | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-13240@lists.php.net to get a copy of this message | ||
On Mon, Oct 5, 2015 at 4:27 PM, Stanley Cheung <stanleycheung@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